about summary refs log tree commit diff
path: root/src/test/ui/suggestions/let-binding-init-expr-as-ty.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/suggestions/let-binding-init-expr-as-ty.rs')
-rw-r--r--src/test/ui/suggestions/let-binding-init-expr-as-ty.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/suggestions/let-binding-init-expr-as-ty.rs b/src/test/ui/suggestions/let-binding-init-expr-as-ty.rs
index beea951a18a..94c72a31e5e 100644
--- a/src/test/ui/suggestions/let-binding-init-expr-as-ty.rs
+++ b/src/test/ui/suggestions/let-binding-init-expr-as-ty.rs
@@ -1,9 +1,9 @@
 pub fn foo(num: i32) -> i32 {
     let foo: i32::from_be(num);
     //~^ ERROR expected type, found local variable `num`
+    //~| ERROR type arguments are not allowed for this type
     //~| ERROR parenthesized type parameters may only be used with a `Fn` trait
     //~| ERROR ambiguous associated type
-    //~| WARNING this was previously accepted by the compiler but is being phased out
     foo
 }