]> git.lizzy.rs Git - rust.git/blob - src/test/ui/deprecation/suggestion.stderr
Rollup merge of #93418 - ojeda:no-shortcut, r=camelid
[rust.git] / src / test / ui / deprecation / suggestion.stderr
1 error: use of deprecated function `bar::deprecated`: replaced by `replacement`
2   --> $DIR/suggestion.rs:41: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:7:9
9    |
10 LL | #![deny(deprecated)]
11    |         ^^^^^^^^^^
12
13 error: use of deprecated associated function `Foo::deprecated`: replaced by `replacement`
14   --> $DIR/suggestion.rs:39: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