Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #46640 - tommyip:ui_tests, r=estebank
Enforce successful ui tests to have must-compile-successfully flag. r? @nikomatsakis cc @oli-obk Fixes #46587
- Loading branch information
Showing
51 changed files
with
253 additions
and
203 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
warning: unreachable pattern | ||
--> $DIR/issue-43253.rs:37:9 | ||
--> $DIR/issue-43253.rs:39:9 | ||
| | ||
37 | 9 => {}, | ||
39 | 9 => {}, | ||
| ^ | ||
| | ||
note: lint level defined here | ||
--> $DIR/issue-43253.rs:12:9 | ||
--> $DIR/issue-43253.rs:14:9 | ||
| | ||
12 | #![warn(unreachable_patterns)] | ||
14 | #![warn(unreachable_patterns)] | ||
| ^^^^^^^^^^^^^^^^^^^^ | ||
|
||
warning: unreachable pattern | ||
--> $DIR/issue-43253.rs:43:9 | ||
--> $DIR/issue-43253.rs:45:9 | ||
| | ||
43 | 8...9 => {}, | ||
45 | 8...9 => {}, | ||
| ^^^^^ | ||
|
||
warning: unreachable pattern | ||
--> $DIR/issue-43253.rs:49:9 | ||
--> $DIR/issue-43253.rs:51:9 | ||
| | ||
49 | 9...9 => {}, | ||
51 | 9...9 => {}, | ||
| ^^^^^ | ||
|
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 |
---|---|---|
|
@@ -9,3 +9,4 @@ | |
// except according to those terms. | ||
|
||
// compile-flags: --explain E0591 | ||
// must-compile-successfully |
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,20 +1,20 @@ | ||
warning: unknown lint: `FOO_BAR` | ||
--> $DIR/not_found.rs:14:9 | ||
--> $DIR/not_found.rs:16:9 | ||
| | ||
14 | #[allow(FOO_BAR)] | ||
16 | #[allow(FOO_BAR)] | ||
| ^^^^^^^ | ||
| | ||
= note: #[warn(unknown_lints)] on by default | ||
|
||
warning: unknown lint: `DEAD_CODE` | ||
--> $DIR/not_found.rs:16:8 | ||
--> $DIR/not_found.rs:18:8 | ||
| | ||
16 | #[warn(DEAD_CODE)] | ||
18 | #[warn(DEAD_CODE)] | ||
| ^^^^^^^^^ help: lowercase the lint name: `dead_code` | ||
|
||
warning: unknown lint: `Warnings` | ||
--> $DIR/not_found.rs:18:8 | ||
--> $DIR/not_found.rs:20:8 | ||
| | ||
18 | #[deny(Warnings)] | ||
20 | #[deny(Warnings)] | ||
| ^^^^^^^^ help: lowercase the lint name: `warnings` | ||
|
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
Oops, something went wrong.