-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #86001 - richkadel:revert-85617-rustin-patch-fix, r=Mar…
…k-Simulacrum Revert "shrinking the deprecated method span" Reverts #85617 Fixes: #86000 r? `@Mark-Simulacrum`
- Loading branch information
Showing
8 changed files
with
149 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,14 @@ | ||
error: use of deprecated function `bar::deprecated`: replaced by `replacement` | ||
--> $DIR/suggestion.rs:38:10 | ||
error: use of deprecated associated function `Foo::deprecated`: replaced by `replacement` | ||
--> $DIR/suggestion.rs:27:9 | ||
| | ||
LL | bar::deprecated(); | ||
| ^^^^^^^^^^ help: replace the use of the deprecated function: `replacement` | ||
LL | foo.deprecated(); | ||
| ^^^^^^^^^^ help: replace the use of the deprecated associated function: `replacement` | ||
| | ||
note: the lint level is defined here | ||
--> $DIR/suggestion.rs:5:9 | ||
--> $DIR/suggestion.rs:7:9 | ||
| | ||
LL | #![deny(deprecated)] | ||
| ^^^^^^^^^^ | ||
|
||
error: use of deprecated associated function `Foo::deprecated`: replaced by `replacement` | ||
--> $DIR/suggestion.rs:36:9 | ||
| | ||
LL | foo.deprecated(); | ||
| ^^^^^^^^^^ help: replace the use of the deprecated associated function: `replacement` | ||
|
||
error: aborting due to 2 previous errors | ||
error: aborting due to previous error | ||
|
Oops, something went wrong.