mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
5c74329887
The bootstrap bump has happened, so the bootstrap compiler now contains the new diagnotic.
15 lines
357 B
Plaintext
15 lines
357 B
Plaintext
error: use `.eq_ctxt()` instead of `.ctxt() == .ctxt()`
|
|
--> $DIR/span_use_eq_ctxt.rs:12:5
|
|
|
|
|
LL | s.ctxt() == t.ctxt()
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/span_use_eq_ctxt.rs:5:9
|
|
|
|
|
LL | #![deny(rustc::span_use_eq_ctxt)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|