diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2020-02-19 10:48:13 -0500 |
|---|---|---|
| committer | Aaron Hill <aa1ronham@gmail.com> | 2020-03-04 16:43:14 -0500 |
| commit | b00f6745c4df0e979dd53dcbf43ededf5728e349 (patch) | |
| tree | 69056147ef4f8e7e4f208edd1f172938035d8d87 /src/test/ui/parser | |
| parent | 9a299e4e210ff91ec59bf9f09bdb402196e02bd5 (diff) | |
| download | rust-b00f6745c4df0e979dd53dcbf43ededf5728e349.tar.gz rust-b00f6745c4df0e979dd53dcbf43ededf5728e349.zip | |
Remove recovery test
Diffstat (limited to 'src/test/ui/parser')
| -rw-r--r-- | src/test/ui/parser/recovery-attr-on-if.rs | 7 | ||||
| -rw-r--r-- | src/test/ui/parser/recovery-attr-on-if.stderr | 23 |
2 files changed, 0 insertions, 30 deletions
diff --git a/src/test/ui/parser/recovery-attr-on-if.rs b/src/test/ui/parser/recovery-attr-on-if.rs deleted file mode 100644 index b4fb25ec8d3..00000000000 --- a/src/test/ui/parser/recovery-attr-on-if.rs +++ /dev/null @@ -1,7 +0,0 @@ -fn main() { - #[attr] if true {}; - //~^ ERROR cannot find attribute - #[attr] if true {}; - //~^ ERROR cannot find attribute - let _recovery_witness: () = 0; //~ ERROR mismatched types -} diff --git a/src/test/ui/parser/recovery-attr-on-if.stderr b/src/test/ui/parser/recovery-attr-on-if.stderr deleted file mode 100644 index cbf2714a1a1..00000000000 --- a/src/test/ui/parser/recovery-attr-on-if.stderr +++ /dev/null @@ -1,23 +0,0 @@ -error: cannot find attribute `attr` in this scope - --> $DIR/recovery-attr-on-if.rs:4:7 - | -LL | #[attr] if true {}; - | ^^^^ - -error: cannot find attribute `attr` in this scope - --> $DIR/recovery-attr-on-if.rs:2:7 - | -LL | #[attr] if true {}; - | ^^^^ - -error[E0308]: mismatched types - --> $DIR/recovery-attr-on-if.rs:6:33 - | -LL | let _recovery_witness: () = 0; - | -- ^ expected `()`, found integer - | | - | expected due to this - -error: aborting due to 3 previous errors - -For more information about this error, try `rustc --explain E0308`. |
