fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
274 B14 linesraw
1error: use of deprecated item 'Foo::foo': text
2  --> $DIR/issue-17337.rs:16:6
3   |
4LL |     .foo();
5   |      ^^^
6   |
7note: lint level defined here
8  --> $DIR/issue-17337.rs:2:9
9   |
10LL | #![deny(deprecated)]
11   |         ^^^^^^^^^^
12
13error: aborting due to previous error
14