]> git.lizzy.rs Git - rust.git/blob - src/test/ui/deprecation/suggestion.stderr
Auto merge of #85867 - steffahn:remove_unnecessary_specfromiter_impls, r=Mark-Simulacrum
[rust.git] / src / test / ui / deprecation / suggestion.stderr
1 error: use of deprecated function `bar::deprecated`: replaced by `replacement`
2   --> $DIR/suggestion.rs:38:10
3    |
4 LL |     bar::deprecated();
5    |          ^^^^^^^^^^ help: replace the use of the deprecated function: `replacement`
6    |
7 note: the lint level is defined here
8   --> $DIR/suggestion.rs:5:9
9    |
10 LL | #![deny(deprecated)]
11    |         ^^^^^^^^^^
12
13 error: use of deprecated associated function `Foo::deprecated`: replaced by `replacement`
14   --> $DIR/suggestion.rs:36:9
15    |
16 LL |     foo.deprecated();
17    |         ^^^^^^^^^^ help: replace the use of the deprecated associated function: `replacement`
18
19 error: aborting due to 2 previous errors
20