mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
relocate several ui tests
This commit is contained in:
@@ -1000,12 +1000,6 @@ Tests on lifetimes on objects, such as a lifetime bound not being able to be ded
|
||||
|
||||
**FIXME**: Just a more specific subset of `ui/lifetimes`.
|
||||
|
||||
## `tests/ui/obsolete-in-place/`
|
||||
|
||||
Contains a single test. Check that we reject the ancient Rust syntax `x <- y` and `in(BINDING) {}` construct.
|
||||
|
||||
**FIXME**: Definitely should be rehomed, maybe to `tests/ui/deprecation/`.
|
||||
|
||||
## `tests/ui/offload`
|
||||
|
||||
Exercises the offload feature.
|
||||
@@ -1023,10 +1017,6 @@ Exercises the [`std::mem::offset_of` macro](https://doc.rust-lang.org/beta/std/m
|
||||
|
||||
Exercises the `#[rustc_on_unimplemented]`.
|
||||
|
||||
## `tests/ui/operator-recovery/`
|
||||
|
||||
**FIXME**: Probably move under `tests/ui/binop/` or `tests/ui/parser/`.
|
||||
|
||||
## `tests/ui/or-patterns/`
|
||||
|
||||
Exercises `||` and `|` in patterns.
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
error: unexpected token: `<-`
|
||||
--> $DIR/bad.rs:5:7
|
||||
--> $DIR/removed-syntax-obsolete-in-place.rs:5:7
|
||||
|
|
||||
LL | x <- y;
|
||||
| ^^
|
||||
@@ -10,7 +10,7 @@ LL | x < - y;
|
||||
| +
|
||||
|
||||
error: expected expression, found keyword `in`
|
||||
--> $DIR/bad.rs:10:5
|
||||
--> $DIR/removed-syntax-obsolete-in-place.rs:10:5
|
||||
|
|
||||
LL | in(foo) { bar };
|
||||
| ^^ expected expression
|
||||
Reference in New Issue
Block a user