]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2126-extern-absolute-paths/non-existent-2.stderr
rustc_resolve: don't allow `::crate_name` to bypass `extern_prelude`.
[rust.git] / src / test / ui / rfc-2126-extern-absolute-paths / non-existent-2.stderr
1 error[E0433]: failed to resolve. Could not find `xcrate` in `{{root}}`
2   --> $DIR/non-existent-2.rs:14:15
3    |
4 LL |     let s = ::xcrate::S;
5    |               ^^^^^^ Could not find `xcrate` in `{{root}}`
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0433`.