about summary refs log tree commit diff
path: root/src/test/ui/match
diff options
context:
space:
mode:
authorMaybe Waffle <waffle.lapkin@gmail.com>2022-09-18 19:55:36 +0400
committerMaybe Waffle <waffle.lapkin@gmail.com>2022-10-01 10:03:06 +0000
commit13b67fb9d2849b4e59d5651b0e4fc82ef8b088aa (patch)
treef683e6adf1d562c87135e109f3b8fbc9c1886a07 /src/test/ui/match
parentad3d1fc9d535bf4399c88a0fa97aeddb2c0c8f51 (diff)
downloadrust-13b67fb9d2849b4e59d5651b0e4fc82ef8b088aa.tar.gz
rust-13b67fb9d2849b4e59d5651b0e4fc82ef8b088aa.zip
bless ui tests
Diffstat (limited to 'src/test/ui/match')
-rw-r--r--src/test/ui/match/issue-41255.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/match/issue-41255.stderr b/src/test/ui/match/issue-41255.stderr
index bf81c8d371c..596d6fad38b 100644
--- a/src/test/ui/match/issue-41255.stderr
+++ b/src/test/ui/match/issue-41255.stderr
@@ -4,13 +4,13 @@ error: floating-point types cannot be used in patterns
 LL |         5.0 => {},
    |         ^^^
    |
+   = 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>
 note: the lint level is defined here
   --> $DIR/issue-41255.rs:6:11
    |
 LL | #![forbid(illegal_floating_point_literal_pattern)]
    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-   = 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: floating-point types cannot be used in patterns
   --> $DIR/issue-41255.rs:13:9