summaryrefslogtreecommitdiffstats
path: root/tests/ui/hygiene/cross-crate-name-collision.rs
blob: 8f118782f2319864c5cadb21e952cd3b2b149013 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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.

// check-pass
// aux-build:needs_hygiene.rs

extern crate needs_hygiene;

use needs_hygiene::*;

fn main() {}