summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0401.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/error-codes/E0401.rs')
-rw-r--r--src/test/ui/error-codes/E0401.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/ui/error-codes/E0401.rs b/src/test/ui/error-codes/E0401.rs
index c30e5f471..8f8d6b87e 100644
--- a/src/test/ui/error-codes/E0401.rs
+++ b/src/test/ui/error-codes/E0401.rs
@@ -8,7 +8,9 @@ fn foo<T>(x: T) {
W: Fn()>
(y: T) { //~ ERROR E0401
}
- bfnr(x); //~ ERROR type annotations needed
+ bfnr(x);
+ //~^ ERROR type annotations needed
+ //~| ERROR type annotations needed
}