fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
367 B18 linesraw
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}