diff options
| author | bors <bors@rust-lang.org> | 2019-04-23 09:38:34 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-04-23 09:38:34 +0000 |
| commit | 31f5d69ba4f4d78740190a08ea097b41b00d96cb (patch) | |
| tree | bc4730f0e3bb9ead3ee01e9d11975b1692314bde /src/test/ui/match | |
| parent | 0f11354a9c1bf0c5ac250c7fa2bafc289a662f42 (diff) | |
| parent | 87ef96d3946ed4add766c0a2cd72d8443e92e4a0 (diff) | |
| download | rust-31f5d69ba4f4d78740190a08ea097b41b00d96cb.tar.gz rust-31f5d69ba4f4d78740190a08ea097b41b00d96cb.zip | |
Auto merge of #60125 - estebank:continue-evaluating, r=oli-obk
Don't stop evaluating due to errors before borrow checking r? @oli-obk Fix #60005. Follow up to #59903. Blocked on #53708, fixing the ICE in `src/test/ui/consts/match_ice.rs`.
Diffstat (limited to 'src/test/ui/match')
| -rw-r--r-- | src/test/ui/match/match-range-fail-dominate.stderr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/match/match-range-fail-dominate.stderr b/src/test/ui/match/match-range-fail-dominate.stderr index d35394aa38b..0f5ab7fff38 100644 --- a/src/test/ui/match/match-range-fail-dominate.stderr +++ b/src/test/ui/match/match-range-fail-dominate.stderr @@ -62,5 +62,14 @@ error: unreachable pattern LL | 0.02f64 => {} | ^^^^^^^ +warning: floating-point types cannot be used in patterns + --> $DIR/match-range-fail-dominate.rs:35:7 + | +LL | 0.01f64 ... 6.5f64 => {} + | ^^^^^^^ + | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! + = note: for more information, see issue #41620 <https://github.com/rust-lang/rust/issues/41620> + error: aborting due to 5 previous errors |
