fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1// run-pass 2// aux-build:edition-lint-paths.rs 3// compile-flags:--extern edition_lint_paths 4// run-rustfix 5 6// The "normal case". Ideally we would remove the `extern crate` here, 7// but we don't. 8 9#![feature(rust_2018_preview)] 10#![deny(absolute_paths_not_starting_with_crate)] 11 12extern crate edition_lint_paths; 13 14use edition_lint_paths::foo; 15 16fn main() { 17 foo(); 18}