]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hygiene/cross-crate-name-collision.rs
Require Drop impls to have the same constness on its bounds as the bounds on the...
[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() {}