about summary refs log tree commit diff
path: root/tests/ui/lifetimes
diff options
context:
space:
mode:
authorKarol Zwolak <karolzwolak7@gmail.com>2025-04-28 13:47:25 +0200
committerKarol Zwolak <karolzwolak7@gmail.com>2025-08-19 21:27:10 +0200
commitd14b83e378c421dd09320ace833a9d47848e3046 (patch)
tree55b00c6b283b4b20092e81ebcf8485b817b27d92 /tests/ui/lifetimes
parent9a29e1693d5122990dcd6c87a5a7b2b2b85f10da (diff)
downloadrust-d14b83e378c421dd09320ace833a9d47848e3046.tar.gz
rust-d14b83e378c421dd09320ace833a9d47848e3046.zip
bless tests with new lint messages
Diffstat (limited to 'tests/ui/lifetimes')
-rw-r--r--tests/ui/lifetimes/unusual-rib-combinations.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/lifetimes/unusual-rib-combinations.stderr b/tests/ui/lifetimes/unusual-rib-combinations.stderr
index bd68479c58c..7f44ab2ed6b 100644
--- a/tests/ui/lifetimes/unusual-rib-combinations.stderr
+++ b/tests/ui/lifetimes/unusual-rib-combinations.stderr
@@ -30,7 +30,7 @@ LL | fn c<T = u8()>() {}
    |
    = 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 #36887 <https://github.com/rust-lang/rust/issues/36887>
-   = note: `#[deny(invalid_type_param_default)]` on by default
+   = note: `#[deny(invalid_type_param_default)]` (part of `#[deny(future_incompatible)]`) on by default
 
 error[E0308]: mismatched types
   --> $DIR/unusual-rib-combinations.rs:5:16
@@ -51,5 +51,5 @@ LL | fn c<T = u8()>() {}
    |
    = 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 #36887 <https://github.com/rust-lang/rust/issues/36887>
-   = note: `#[deny(invalid_type_param_default)]` on by default
+   = note: `#[deny(invalid_type_param_default)]` (part of `#[deny(future_incompatible)]`) on by default