rust/tests/ui/hygiene/cross-crate-name-collision.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
285 B
Rust
Raw Normal View History

2021-10-28 15:48:39 -05:00
// Check that two items defined in another crate that have identifiers that
// only differ by `SyntaxContext` do not cause name collisions when imported
// in another crate.
2020-03-17 10:45:02 -05:00
// check-pass
// aux-build:needs_hygiene.rs
extern crate needs_hygiene;
use needs_hygiene::*;
fn main() {}