1 error: use of deprecated associated function `Foo::deprecated`: replaced by `replacement`
2 --> $DIR/suggestion.rs:27:9
5 | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `replacement`
7 note: the lint level is defined here
8 --> $DIR/suggestion.rs:7:9
10 LL | #![deny(deprecated)]
13 error: aborting due to previous error