diff options
Diffstat (limited to 'tests/ui/parser/recover-ref-dyn-mut.rs')
-rw-r--r-- | tests/ui/parser/recover-ref-dyn-mut.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/ui/parser/recover-ref-dyn-mut.rs b/tests/ui/parser/recover-ref-dyn-mut.rs deleted file mode 100644 index 3016275cc..000000000 --- a/tests/ui/parser/recover-ref-dyn-mut.rs +++ /dev/null @@ -1,9 +0,0 @@ -// Test that the parser detects `&dyn mut`, offers a help message, and -// recovers. - -fn main() { - let r: &dyn mut Trait; - //~^ ERROR: `mut` must precede `dyn` - //~| HELP: place `mut` before `dyn` - //~| ERROR: cannot find trait `Trait` in this scope [E0405] -} |