fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
422 B14 linesraw
1error: `allow_internal_unsafe` allows defining macros using unsafe without triggering the `unsafe_code` lint at their call site
2  --> $DIR/lint-forbid-internal-unsafe.rs:4:1
3   |
4LL | #[allow_internal_unsafe]
5   | ^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7note: lint level defined here
8  --> $DIR/lint-forbid-internal-unsafe.rs:1:11
9   |
10LL | #![forbid(unsafe_code)]
11   |           ^^^^^^^^^^^
12
13error: aborting due to previous error
14