rust/tests/ui/imports/ambiguous-2.rs

11 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.
}