Skip to content

Commit b2aeb0f

Browse files
committed
Move some tests in src/test/compile-fail -> src/test/ui.
1 parent d3e2cec commit b2aeb0f

File tree

71 files changed

+383
-66
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+383
-66
lines changed

src/test/compile-fail/auxiliary/panic-runtime-lang-items.rs

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/test/compile-fail/auxiliary/panic-runtime-unwind.rs

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/test/compile-fail/auxiliary/panic-runtime-unwind2.rs

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/test/compile-fail/auxiliary/some-panic-impl.rs

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/test/compile-fail/auxiliary/wants-panic-runtime-unwind.rs

Lines changed: 0 additions & 6 deletions
This file was deleted.
File renamed without changes.

src/test/ui/asm/asm-src-loc.stderr

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
error: <inline asm>:1:2: error: invalid instruction mnemonic 'nowayisthisavalidinstruction'
2+
nowayisthisavalidinstruction
3+
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
4+
5+
--> $DIR/asm-src-loc.rs:7:9
6+
|
7+
LL | asm!("nowayisthisavalidinstruction");
8+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9+
10+
error: aborting due to previous error
11+
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
error[E0191]: the value of the associated types `Value` (from the trait `Hierarchy`), `ChildKey` (from the trait `Hierarchy`), `Children` (from the trait `Hierarchy`) must be specified
2+
--> $DIR/issue-23595-1.rs:8:54
3+
|
4+
LL | type Value;
5+
| ----------- `Value` defined here
6+
LL | type ChildKey;
7+
| -------------- `ChildKey` defined here
8+
LL | type Children = dyn Index<Self::ChildKey, Output=dyn Hierarchy>;
9+
| -------------------------------------------------^^^^^^^^^^^^^--
10+
| | |
11+
| | associated type `Value` must be specified
12+
| | associated type `ChildKey` must be specified
13+
| | associated type `Children` must be specified
14+
| `Children` defined here
15+
16+
error: aborting due to previous error
17+
18+
For more information about this error, try `rustc --explain E0191`.

0 commit comments

Comments
 (0)