summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/ambiguous-8.rs
blob: d44cd9587acfb8cc19234c3f0332c56f299560e5 (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() {}