mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-19 01:24:05 +00:00
67db88f645
Also rename `OUTER_EXPN_INFO` to `OUTER_EXPN_EXPN_INFO` to match new function names.
15 lines
509 B
Text
15 lines
509 B
Text
error: usage of `outer_expn().expn_info()`
|
|
--> $DIR/outer_expn_info.rs:19:33
|
|
|
|
|
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_expn_info)]` implied by `#[deny(clippy::internal)]`
|
|
|
|
error: aborting due to previous error
|
|
|