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
990 B32 linesraw
1error[E0453]: allow(test_lint) overruled by outer forbid(test_lint)
2  --> $DIR/lint-plugin-forbid-attrs.rs:11:9
3   |
4LL | #![forbid(test_lint)]
5   |           --------- `forbid` level set here
6...
7LL | #[allow(test_lint)]
8   |         ^^^^^^^^^ overruled by previous forbid
9
10warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
11  --> $DIR/lint-plugin-forbid-attrs.rs:5:1
12   |
13LL | #![plugin(lint_plugin_test)]
14   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
15   |
16   = note: `#[warn(deprecated)]` on by default
17
18error: item is named 'lintme'
19  --> $DIR/lint-plugin-forbid-attrs.rs:9:1
20   |
21LL | fn lintme() { }
22   | ^^^^^^^^^^^^^^^
23   |
24note: lint level defined here
25  --> $DIR/lint-plugin-forbid-attrs.rs:7:11
26   |
27LL | #![forbid(test_lint)]
28   |           ^^^^^^^^^
29
30error: aborting due to 2 previous errors
31
32For more information about this error, try `rustc --explain E0453`.