fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1// run-pass 2// aux-build:edition-lint-paths.rs 3// run-rustfix 4 5// Oddball: `edition_lint_paths` is accessed via this `self` path 6// rather than being accessed directly. Unless we rewrite that path, 7// we can't drop the extern crate. 8 9#![feature(rust_2018_preview)] 10#![deny(absolute_paths_not_starting_with_crate)] 11 12extern crate edition_lint_paths; 13use self::edition_lint_paths::foo; 14 15fn main() { 16 foo(); 17}