diff options
Diffstat (limited to 'src/test/ui/try-block/try-block-type-error.stderr')
-rw-r--r-- | src/test/ui/try-block/try-block-type-error.stderr | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/test/ui/try-block/try-block-type-error.stderr b/src/test/ui/try-block/try-block-type-error.stderr deleted file mode 100644 index 3e9a584a5..000000000 --- a/src/test/ui/try-block/try-block-type-error.stderr +++ /dev/null @@ -1,18 +0,0 @@ -error[E0271]: type mismatch resolving `<Option<f32> as Try>::Output == {integer}` - --> $DIR/try-block-type-error.rs:10:9 - | -LL | 42 - | ^^ - | | - | expected `f32`, found integer - | help: use a float literal: `42.0` - -error[E0271]: type mismatch resolving `<Option<i32> as Try>::Output == ()` - --> $DIR/try-block-type-error.rs:16:5 - | -LL | }; - | ^ expected `i32`, found `()` - -error: aborting due to 2 previous errors - -For more information about this error, try `rustc --explain E0271`. |