-
Notifications
You must be signed in to change notification settings - Fork 13k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move some compile-fail tests into UI directory
- Loading branch information
1 parent
5752eae
commit 3fb676a
Showing
63 changed files
with
1,285 additions
and
323 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
error[E0425]: unresolved name `namespaced_enums::A` | ||
--> $DIR/enums-are-namespaced-xc.rs:15:13 | ||
| | ||
15 | let _ = namespaced_enums::A; | ||
| ^^^^^^^^^^^^^^^^^^^ unresolved name | ||
|
||
error[E0425]: unresolved name `namespaced_enums::B` | ||
--> $DIR/enums-are-namespaced-xc.rs:18:13 | ||
| | ||
18 | let _ = namespaced_enums::B(10); | ||
| ^^^^^^^^^^^^^^^^^^^ unresolved name | ||
|
||
error[E0531]: unresolved struct, variant or union type `namespaced_enums::C` | ||
--> $DIR/enums-are-namespaced-xc.rs:21:13 | ||
| | ||
21 | let _ = namespaced_enums::C { a: 10 }; | ||
| ^^^^^^^^^^^^^^^^^^^ | ||
|
||
error: aborting due to 3 previous errors | ||
|
Oops, something went wrong.