about summary refs log tree commit diff
path: root/tests/ui/imports/ambiguous-8.rs
blob: 3e5131cc3ed4b25136fe752bef3b77236d3a3490 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//@ aux-build: ambiguous-8-extern.rs

extern crate ambiguous_8_extern;

mod s {
  pub trait Error {}
}

use s::*;
use ambiguous_8_extern::*;
fn a<E: Error>(_: E) {}
//~^ ERROR `Error` is ambiguous

fn main() {}