rust/tests/ui/imports/issue-114682-5.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
525 B
Rust
Raw Normal View History

2024-01-21 05:17:28 -06:00
//@ check-pass
//@ edition: 2018
//@ aux-build: issue-114682-5-extern-1.rs
//@ aux-build: issue-114682-5-extern-2.rs
//@ compile-flags: --extern issue_114682_5_extern_1
// https://github.com/rust-lang/rust/pull/114682#issuecomment-1880755441
extern crate issue_114682_5_extern_2;
use issue_114682_5_extern_2::p::*;
use issue_114682_5_extern_1::Url;
// FIXME: The `issue_114682_5_extern_1` should be considered an ambiguous item,
// as it has already been recognized as ambiguous in `issue_114682_5_extern_2`.
fn main() {}