mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
13 lines
287 B
Rust
13 lines
287 B
Rust
// 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() {}
|