about summary refs log tree commit diff
path: root/src/test/ui/impl-trait/where-allowed-2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/impl-trait/where-allowed-2.rs')
-rw-r--r--src/test/ui/impl-trait/where-allowed-2.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/ui/impl-trait/where-allowed-2.rs b/src/test/ui/impl-trait/where-allowed-2.rs
index d5a87b5d468..1a1210d0072 100644
--- a/src/test/ui/impl-trait/where-allowed-2.rs
+++ b/src/test/ui/impl-trait/where-allowed-2.rs
@@ -1,7 +1,6 @@
 use std::fmt::Debug;
 
-// check-pass
-
 fn in_adt_in_return() -> Vec<impl Debug> { panic!() }
+//~^ ERROR type annotations needed
 
 fn main() {}