summaryrefslogtreecommitdiffstats
path: root/src/test/ui/associated-item/associated-item-duplicate-names-3.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/associated-item/associated-item-duplicate-names-3.rs')
-rw-r--r--src/test/ui/associated-item/associated-item-duplicate-names-3.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/ui/associated-item/associated-item-duplicate-names-3.rs b/src/test/ui/associated-item/associated-item-duplicate-names-3.rs
index 6aa1b483e..3a70a2f94 100644
--- a/src/test/ui/associated-item/associated-item-duplicate-names-3.rs
+++ b/src/test/ui/associated-item/associated-item-duplicate-names-3.rs
@@ -16,4 +16,5 @@ impl Foo for Baz {
fn main() {
let x: Baz::Bar = 5;
+ //~^ ERROR ambiguous associated type
}