os-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
287 B
Rust
Raw Normal View History

2021-10-28 21:48:39 +01: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 11:45:02 -04:00
//@ check-pass
//@ aux-build:needs_hygiene.rs
extern crate needs_hygiene;
use needs_hygiene::*;
fn main() {}