2023-10-16 03:05:11 -05:00
|
|
|
error: use `.eq_ctxt()` instead of `.ctxt() == .ctxt()`
|
2023-11-24 14:36:10 -06:00
|
|
|
--> $DIR/span_use_eq_ctxt.rs:13:5
|
2023-10-16 03:05:11 -05:00
|
|
|
|
|
|
|
|
LL | s.ctxt() == t.ctxt()
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
2023-11-24 14:36:10 -06:00
|
|
|
--> $DIR/span_use_eq_ctxt.rs:6:9
|
2023-10-16 03:05:11 -05:00
|
|
|
|
|
|
|
|
LL | #![deny(rustc::span_use_eq_ctxt)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2023-11-24 14:36:10 -06:00
|
|
|
error: aborting due to 1 previous error
|
2023-10-16 03:05:11 -05:00
|
|
|
|