summaryrefslogtreecommitdiff
path: root/tests/ui/imports/issue-114682-4.rs
blob: 32c2ca7b26097c4f16d7d4058ee7ba649036500c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//@ 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() {}