fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
409 B17 linesraw
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}