diff options
| author | Ralf Jung <post@ralfj.de> | 2025-01-02 21:22:42 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2025-01-03 12:01:31 +0100 |
| commit | ac9cb908ac4301dfc25e7a2edee574320022ae2c (patch) | |
| tree | 5b56b884318fc58bf28c82a38d0a2e7efd9d9207 /src/tools/clippy | |
| parent | bf6f8a4d328f7f3b0f6ea8205ad28591cc11aafd (diff) | |
| download | rust-ac9cb908ac4301dfc25e7a2edee574320022ae2c.tar.gz rust-ac9cb908ac4301dfc25e7a2edee574320022ae2c.zip | |
turn rustc_box into an intrinsic
Diffstat (limited to 'src/tools/clippy')
| -rw-r--r-- | src/tools/clippy/tests/ui-toml/disallowed_macros/disallowed_macros.stderr | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/tools/clippy/tests/ui-toml/disallowed_macros/disallowed_macros.stderr b/src/tools/clippy/tests/ui-toml/disallowed_macros/disallowed_macros.stderr index 2e3386628b4..6a6c6168a1f 100644 --- a/src/tools/clippy/tests/ui-toml/disallowed_macros/disallowed_macros.stderr +++ b/src/tools/clippy/tests/ui-toml/disallowed_macros/disallowed_macros.stderr @@ -1,12 +1,3 @@ -error: use of a disallowed macro `std::vec` - --> tests/ui-toml/disallowed_macros/disallowed_macros.rs:16:5 - | -LL | vec![1, 2, 3]; - | ^^^^^^^^^^^^^ - | - = note: `-D clippy::disallowed-macros` implied by `-D warnings` - = help: to override `-D warnings` add `#[allow(clippy::disallowed_macros)]` - error: use of a disallowed macro `serde::Serialize` --> tests/ui-toml/disallowed_macros/disallowed_macros.rs:18:14 | @@ -14,6 +5,8 @@ LL | #[derive(Serialize)] | ^^^^^^^^^ | = note: no serializing + = note: `-D clippy::disallowed-macros` implied by `-D warnings` + = help: to override `-D warnings` add `#[allow(clippy::disallowed_macros)]` error: use of a disallowed macro `macros::attr` --> tests/ui-toml/disallowed_macros/disallowed_macros.rs:31:1 @@ -47,6 +40,12 @@ error: use of a disallowed macro `std::cfg` LL | cfg!(unix); | ^^^^^^^^^^ +error: use of a disallowed macro `std::vec` + --> tests/ui-toml/disallowed_macros/disallowed_macros.rs:16:5 + | +LL | vec![1, 2, 3]; + | ^^^^^^^^^^^^^ + error: use of a disallowed macro `macros::expr` --> tests/ui-toml/disallowed_macros/disallowed_macros.rs:21:13 | |
