Files
rust/tests/ui/resolve/extern-crate-lint-issue-141785.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
184 B
Rust
Raw Normal View History

//@ check-pass
//@ edition:2018
#![no_implicit_prelude]
#![warn(unused_extern_crates)]
extern crate std;
fn main() {
let r = 1u16..10;
std::println!("{:?}", r.is_empty());
}