c2524bc689
The stage0 compiler does not know about the lint yet, so ignore the test on stage1.
15 lines
355 B
Plaintext
15 lines
355 B
Plaintext
error: use `.eq_ctxt()` instead of `.ctxt() == .ctxt()`
|
|
--> $DIR/span_use_eq_ctxt.rs:14:5
|
|
|
|
|
LL | s.ctxt() == t.ctxt()
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/span_use_eq_ctxt.rs:7:9
|
|
|
|
|
LL | #![deny(rustc::span_use_eq_ctxt)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to previous error
|
|
|