fork/rust

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

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

1.41.0
380 B14 linesraw
1error: use of deprecated item 'Foo::deprecated': replaced by `replacement`
2  --> $DIR/suggestion.rs:27:9
3   |
4LL |     foo.deprecated();
5   |         ^^^^^^^^^^ help: replace the use of the deprecated item: `replacement`
6   |
7note: lint level defined here
8  --> $DIR/suggestion.rs:7:9
9   |
10LL | #![deny(deprecated)]
11   |         ^^^^^^^^^^
12
13error: aborting due to previous error
14