mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
13 lines
302 B
Rust
13 lines
302 B
Rust
//@ check-pass
|
|
//@ aux-build: issue-114682-6-extern.rs
|
|
// https://github.com/rust-lang/rust/pull/114682#issuecomment-1880755441
|
|
|
|
extern crate issue_114682_6_extern;
|
|
|
|
use issue_114682_6_extern::*;
|
|
|
|
fn main() {
|
|
let log = 2;
|
|
//^ `log` should be identified as an ambiguous item.
|
|
let _ = log;
|
|
}
|