-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix breakage due to rust-lang/rust#62705
Also rename `OUTER_EXPN_INFO` to `OUTER_EXPN_EXPN_INFO` to match new function names.
- Loading branch information
Michael Wright
committed
Jul 21, 2019
1 parent
bd4c4e7
commit 67db88f
Showing
4 changed files
with
12 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
error: usage of `outer().expn_info()` | ||
error: usage of `outer_expn().expn_info()` | ||
--> $DIR/outer_expn_info.rs:19:33 | ||
| | ||
LL | let _ = expr.span.ctxt().outer().expn_info(); | ||
| ^^^^^^^^^^^^^^^^^^^^ help: try: `.outer_expn_info()` | ||
LL | let _ = expr.span.ctxt().outer_expn().expn_info(); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `.outer_expn_info()` | ||
| | ||
note: lint level defined here | ||
--> $DIR/outer_expn_info.rs:1:9 | ||
| | ||
LL | #![deny(clippy::internal)] | ||
| ^^^^^^^^^^^^^^^^ | ||
= note: `#[deny(clippy::outer_expn_info)]` implied by `#[deny(clippy::internal)]` | ||
= note: `#[deny(clippy::outer_expn_expn_info)]` implied by `#[deny(clippy::internal)]` | ||
|
||
error: aborting due to previous error | ||
|