fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
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