fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: use of deprecated function `bar::deprecated`: replaced by `replacement` 2 --> $DIR/suggestion.rs:42:10 3 | 4LL | bar::deprecated(); 5 | ^^^^^^^^^^ 6 | 7note: the lint level is defined here 8 --> $DIR/suggestion.rs:8:9 9 | 10LL | #![deny(deprecated)] 11 | ^^^^^^^^^^ 12help: replace the use of the deprecated function 13 | 14LL | bar::replacement(); 15 | ~~~~~~~~~~~ 16 17error: use of deprecated method `Foo::deprecated`: replaced by `replacement` 18 --> $DIR/suggestion.rs:40:9 19 | 20LL | foo.deprecated(); 21 | ^^^^^^^^^^ 22 | 23help: replace the use of the deprecated method 24 | 25LL | foo.replacement(); 26 | ~~~~~~~~~~~ 27 28error: aborting due to 2 previous errors 29