-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We have to ignore some tests in stage1.
- Loading branch information
Showing
10 changed files
with
18 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
error: use `.eq_ctxt()` instead of `.ctxt() == .ctxt()` | ||
--> $DIR/span_use_eq_ctxt.rs:12:5 | ||
--> $DIR/span_use_eq_ctxt.rs:13:5 | ||
| | ||
LL | s.ctxt() == t.ctxt() | ||
| ^^^^^^^^^^^^^^^^^^^^ | ||
| | ||
note: the lint level is defined here | ||
--> $DIR/span_use_eq_ctxt.rs:5:9 | ||
--> $DIR/span_use_eq_ctxt.rs:6:9 | ||
| | ||
LL | #![deny(rustc::span_use_eq_ctxt)] | ||
| ^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
error: aborting due to previous error | ||
error: aborting due to 1 previous error | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? | ||
--> $DIR/pathless-extern-unstable.rs:6:9 | ||
--> $DIR/pathless-extern-unstable.rs:7:9 | ||
| | ||
LL | pub use rustc_middle; | ||
| ^^^^^^^^^^^^ | ||
| | ||
= note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information | ||
= help: add `#![feature(rustc_private)]` to the crate attributes to enable | ||
|
||
error: aborting due to previous error | ||
error: aborting due to 1 previous error | ||
|
||
For more information about this error, try `rustc --explain E0658`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
// rustc-env:CARGO_CRATE_NAME=rustc_dummy | ||
// ignore-stage1 | ||
|
||
#![feature(rustc_private)] | ||
#![crate_type = "lib"] | ||
|
4 changes: 2 additions & 2 deletions
4
tests/ui-fulldeps/session-diagnostic/enforce_slug_naming.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
error: diagnostic slug and crate name do not match | ||
--> $DIR/enforce_slug_naming.rs:22:8 | ||
--> $DIR/enforce_slug_naming.rs:23:8 | ||
| | ||
LL | #[diag(compiletest_example, code = "E0123")] | ||
| ^^^^^^^^^^^^^^^^^^^ | ||
| | ||
= note: slug is `compiletest_example` but the crate name is `rustc_dummy` | ||
= help: expected a slug starting with `dummy_...` | ||
|
||
error: aborting due to previous error | ||
error: aborting due to 1 previous error | ||
|