Skip to content

Commit c5ff4bf

Browse files
committed
bless tests with new lint messages
1 parent f95415e commit c5ff4bf

File tree

234 files changed

+344
-344
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

234 files changed

+344
-344
lines changed

src/tools/clippy/tests/ui/checked_unwrap/simple_conditionals.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ LL | if X.is_some() {
330330
|
331331
= note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
332332
= note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
333-
= note: `#[deny(static_mut_refs)]` on by default
333+
= note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
334334

335335
error: aborting due to 36 previous errors
336336

tests/ui/abi/unsupported.aarch64.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ LL | fn cdecl_ptr(f: extern "cdecl" fn()) {
165165
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
166166
= note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
167167
= help: use `extern "C"` instead
168-
= note: `#[warn(unsupported_calling_conventions)]` on by default
168+
= note: `#[warn(unsupported_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
169169

170170
warning: "cdecl" is not a supported ABI for the current target
171171
--> $DIR/unsupported.rs:104:1

tests/ui/abi/unsupported.arm.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ LL | fn cdecl_ptr(f: extern "cdecl" fn()) {
147147
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
148148
= note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
149149
= help: use `extern "C"` instead
150-
= note: `#[warn(unsupported_calling_conventions)]` on by default
150+
= note: `#[warn(unsupported_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
151151

152152
warning: "cdecl" is not a supported ABI for the current target
153153
--> $DIR/unsupported.rs:104:1

tests/ui/abi/unsupported.riscv32.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ LL | fn cdecl_ptr(f: extern "cdecl" fn()) {
159159
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
160160
= note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
161161
= help: use `extern "C"` instead
162-
= note: `#[warn(unsupported_calling_conventions)]` on by default
162+
= note: `#[warn(unsupported_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
163163

164164
warning: "cdecl" is not a supported ABI for the current target
165165
--> $DIR/unsupported.rs:104:1

tests/ui/abi/unsupported.riscv64.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ LL | fn cdecl_ptr(f: extern "cdecl" fn()) {
159159
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
160160
= note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
161161
= help: use `extern "C"` instead
162-
= note: `#[warn(unsupported_calling_conventions)]` on by default
162+
= note: `#[warn(unsupported_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
163163

164164
warning: "cdecl" is not a supported ABI for the current target
165165
--> $DIR/unsupported.rs:104:1

tests/ui/abi/unsupported.x64.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ LL | fn cdecl_ptr(f: extern "cdecl" fn()) {
141141
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
142142
= note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
143143
= help: use `extern "C"` instead
144-
= note: `#[warn(unsupported_calling_conventions)]` on by default
144+
= note: `#[warn(unsupported_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
145145

146146
warning: "cdecl" is not a supported ABI for the current target
147147
--> $DIR/unsupported.rs:104:1

tests/ui/abi/unsupported.x64_win.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
109109
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
110110
= note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
111111
= help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"`
112-
= note: `#[warn(unsupported_calling_conventions)]` on by default
112+
= note: `#[warn(unsupported_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
113113

114114
warning: "stdcall" is not a supported ABI for the current target
115115
--> $DIR/unsupported.rs:87:1

tests/ui/associated-consts/associated-const-type-parameters.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ warning: trait `Bar` is never used
44
LL | trait Bar: Foo {
55
| ^^^
66
|
7-
= note: `#[warn(dead_code)]` on by default
7+
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
88

99
warning: 1 warning emitted
1010

tests/ui/associated-type-bounds/rpit.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LL | trait Tr2<'a> { fn tr2(self) -> &'a Self; }
66
| |
77
| method in this trait
88
|
9-
= note: `#[warn(dead_code)]` on by default
9+
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
1010

1111
warning: 1 warning emitted
1212

tests/ui/associated-types/associated-types-issue-20220.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ warning: trait `IntoIteratorX` is never used
44
LL | trait IntoIteratorX {
55
| ^^^^^^^^^^^^^
66
|
7-
= note: `#[warn(dead_code)]` on by default
7+
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
88

99
warning: 1 warning emitted
1010

0 commit comments

Comments
 (0)