mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
14 lines
311 B
Rust
14 lines
311 B
Rust
|
// check-pass
|
||
|
// aux-build: issue-114682-4-extern.rs
|
||
|
// https://github.com/rust-lang/rust/pull/114682#issuecomment-1880755441
|
||
|
|
||
|
extern crate issue_114682_4_extern;
|
||
|
|
||
|
use issue_114682_4_extern::*;
|
||
|
|
||
|
fn a() -> Result<i32, ()> { // FIXME: `Result` should be identified as an ambiguous item.
|
||
|
Ok(1)
|
||
|
}
|
||
|
|
||
|
fn main() {}
|