rust/tests/ui/imports/ambiguous-2.rs
2024-02-16 20:02:50 +00:00

10 lines
249 B
Rust

//@ check-pass
//@ aux-build: ../ambiguous-1.rs
// https://github.com/rust-lang/rust/pull/113099#issuecomment-1633574396
extern crate ambiguous_1;
fn main() {
ambiguous_1::id();
//^ FIXME: `id` should be identified as an ambiguous item.
}