]> git.proxmox.com Git - rustc.git/blame - src/test/ui/rust-2018/uniform-paths/issue-54253.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / rust-2018 / uniform-paths / issue-54253.rs
CommitLineData
8faf50e0 1// edition:2018
1a4d82fc 2
13cf67c4 3// Dummy import that previously introduced uniform path canaries.
b7449926 4use std;
94b46f34 5
b7449926
XL
6// fn version() -> &'static str {""}
7
8mod foo {
9 // Error wasn't reported, despite `version` being commented out above.
10 use crate::version; //~ ERROR unresolved import `crate::version`
11
12 fn bar() {
13 version();
14 }
83c7162d 15}
9e0c209e
SL
16
17fn main() {}