blob: 4d98f0ad62d4ddceff454fc3106e60c84ad392e7 [file] [log] [blame]
// compile-flags: -D warnings --cap-lints allow
// check-pass
// Regression test for issue #78660
// Tests that we don't ICE when a future-incompat-report lint has
// has a command-line source, but is capped to allow
fn main() {
["hi"].into_iter();
}