rust/tests/ui-fulldeps/internal-lints/span_use_eq_ctxt.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
357 B
Plaintext
Raw Normal View History

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