We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
span_use_eq_ctxt
1 parent 8ff2954 commit c2524bcCopy full SHA for c2524bc
tests/ui-fulldeps/internal-lints/span_use_eq_ctxt.rs
@@ -1,4 +1,6 @@
1
// Test the `rustc::span_use_eq_ctxt` internal lint
2
+// #[cfg(bootstrap)]
3
+// ignore-stage1
4
// compile-flags: -Z unstable-options
5
6
#![feature(rustc_private)]
tests/ui-fulldeps/internal-lints/span_use_eq_ctxt.stderr
@@ -1,11 +1,11 @@
error: use `.eq_ctxt()` instead of `.ctxt() == .ctxt()`
- --> $DIR/span_use_eq_ctxt.rs:12:5
+ --> $DIR/span_use_eq_ctxt.rs:14:5
|
LL | s.ctxt() == t.ctxt()
| ^^^^^^^^^^^^^^^^^^^^
7
note: the lint level is defined here
8
- --> $DIR/span_use_eq_ctxt.rs:5:9
+ --> $DIR/span_use_eq_ctxt.rs:7:9
9
10
LL | #![deny(rustc::span_use_eq_ctxt)]
11
| ^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments