Skip to content

Commit 3bbec6a

Browse files
committed
sudo CI=green && Review changes <3
1 parent 1b4c281 commit 3bbec6a

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

tests/ui-toml/macro_metavars_in_unsafe/default/test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//! Tests macro_metavars_in_unsafe with default configuration
2-
#![feature(decl_macro, lint_reasons)]
2+
#![feature(decl_macro)]
33
#![warn(clippy::macro_metavars_in_unsafe)]
44
#![allow(clippy::no_effect)]
55

tests/ui-toml/macro_metavars_in_unsafe/default/test.stderr

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
error: the feature `lint_reasons` has been stable since 1.81.0-dev and no longer requires an attribute to enable
2-
--> tests/ui-toml/macro_metavars_in_unsafe/default/test.rs:2:24
3-
|
4-
LL | #![feature(decl_macro, lint_reasons)]
5-
| ^^^^^^^^^^^^
6-
|
7-
= note: `-D stable-features` implied by `-D warnings`
8-
= help: to override `-D warnings` add `#[allow(stable_features)]`
9-
101
error: this macro expands metavariables in an unsafe block
112
--> tests/ui-toml/macro_metavars_in_unsafe/default/test.rs:19:9
123
|
@@ -192,5 +183,5 @@ LL | | }
192183
= help: consider expanding any metavariables outside of this block, e.g. by storing them in a variable
193184
= help: ... or also expand referenced metavariables in a safe context to require an unsafe block at callsite
194185

195-
error: aborting due to 15 previous errors
186+
error: aborting due to 14 previous errors
196187

0 commit comments

Comments
 (0)