Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try-perf
/
.
/
tests
/
ui
/
imports
/
ambiguous-2.rs
blob: 65c971c00b9ac5d9d13a62f1c5a3a1cfda075e15 [
file
] [
log
] [
blame
] [
edit
]
//@ aux-build: ../ambiguous-1.rs
// https://github.com/rust-lang/rust/pull/113099#issuecomment-1633574396
extern
crate ambiguous_1
;
fn
main
()
{
ambiguous_1
::
id
();
//~ ERROR `id` is ambiguous
//~| WARN this was previously accepted
}