Skip to content

Commit

Permalink
sudo CI=green && Review changes <3
Browse files Browse the repository at this point in the history
  • Loading branch information
xFrednet committed Jun 25, 2024
1 parent 1b4c281 commit 3bbec6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion tests/ui-toml/macro_metavars_in_unsafe/default/test.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//! Tests macro_metavars_in_unsafe with default configuration
#![feature(decl_macro, lint_reasons)]
#![feature(decl_macro)]
#![warn(clippy::macro_metavars_in_unsafe)]
#![allow(clippy::no_effect)]

Expand Down
11 changes: 1 addition & 10 deletions tests/ui-toml/macro_metavars_in_unsafe/default/test.stderr
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
error: the feature `lint_reasons` has been stable since 1.81.0-dev and no longer requires an attribute to enable
--> tests/ui-toml/macro_metavars_in_unsafe/default/test.rs:2:24
|
LL | #![feature(decl_macro, lint_reasons)]
| ^^^^^^^^^^^^
|
= note: `-D stable-features` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(stable_features)]`

error: this macro expands metavariables in an unsafe block
--> tests/ui-toml/macro_metavars_in_unsafe/default/test.rs:19:9
|
Expand Down Expand Up @@ -192,5 +183,5 @@ LL | | }
= help: consider expanding any metavariables outside of this block, e.g. by storing them in a variable
= help: ... or also expand referenced metavariables in a safe context to require an unsafe block at callsite

error: aborting due to 15 previous errors
error: aborting due to 14 previous errors

0 comments on commit 3bbec6a

Please sign in to comment.