]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hygiene/cross-crate-name-collision.rs
Merge commit '0eff589afc83e21a03a168497bbab6b4dfbb4ef6' into clippyup
[rust.git] / src / test / ui / hygiene / cross-crate-name-collision.rs
1 // Check that two items defined in another crate that have identifiers that
2 // only differ by `SyntaxContext` do not cause name collisions when imported
3 // in another crate.
4
5 // check-pass
6 // aux-build:needs_hygiene.rs
7
8 extern crate needs_hygiene;
9
10 use needs_hygiene::*;
11
12 fn main() {}