]> git.lizzy.rs Git - rust.git/commitdiff
Bless tests
authorSantiago Pastorino <spastorino@gmail.com>
Tue, 20 Oct 2020 22:59:22 +0000 (19:59 -0300)
committerSantiago Pastorino <spastorino@gmail.com>
Thu, 22 Oct 2020 16:22:15 +0000 (13:22 -0300)
src/test/ui/parser/issue-66357-unexpected-unreachable.rs
src/test/ui/parser/issue-66357-unexpected-unreachable.stderr

index 7b95bc775ba9170dc2c4f5cce47aad478963f9b6..5ec143fae234479231dd52c8ff13f4d08a68b958 100644 (file)
@@ -13,4 +13,4 @@
 
 fn f() { |[](* }
 //~^ ERROR expected one of `,` or `:`, found `(`
-//~| ERROR expected one of `&`, `(`, `)`, `-`, `...`, `..=`, `..`, `[`, `_`, `box`, `const`, `mut`, `ref`, `|`, identifier, or path, found `*`
+//~| ERROR expected one of `&`, `(`, `)`, `-`, `...`, `..=`, `..`, `[`, `_`, `box`, `mut`, `ref`, `|`, identifier, or path, found `*`
index 5549f73920d4f5fca1f11c9bfce1cbf3dfafc1f9..c3810999d239509f6100bfbbe04b387e5a94b8ef 100644 (file)
@@ -4,7 +4,7 @@ error: expected one of `,` or `:`, found `(`
 LL | fn f() { |[](* }
    |             ^ expected one of `,` or `:`
 
-error: expected one of `&`, `(`, `)`, `-`, `...`, `..=`, `..`, `[`, `_`, `box`, `const`, `mut`, `ref`, `|`, identifier, or path, found `*`
+error: expected one of `&`, `(`, `)`, `-`, `...`, `..=`, `..`, `[`, `_`, `box`, `mut`, `ref`, `|`, identifier, or path, found `*`
   --> $DIR/issue-66357-unexpected-unreachable.rs:14:14
    |
 LL | fn f() { |[](* }