Skip to content

Commit 77afccf

Browse files
committed
moved and delete test
tests/ui/invalid-module-declaration/invalid-module-declaration.rs duplicated of tests/ui/modules/missing_non_modrs_mod_inline.rs
1 parent cc3eee7 commit 77afccf

21 files changed

+0
-47
lines changed

tests/ui/README.md

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,6 @@ See [Tracking Issue for autodiff #124509](https://github.com/rust-lang/rust/issu
113113

114114
Tests for automatic referencing and dereferencing behavior, such as automatically adding reference operations (`&` or `&mut`) to make a value match a method's receiver type. Sometimes abbreviated as "auto-ref" or "auto-deref".
115115

116-
## `tests/ui/auxiliary/`: Auxiliary files for tests directly under `tests/ui`.
117-
118-
This top-level `auxiliary` subdirectory contains support files for tests immediately under `tests/ui/`.
119-
120-
**FIXME(#133895)**: tests immediately under `tests/ui/` should be rehomed to more suitable subdirectories, after which this subdirectory can be removed.
121-
122116
## `tests/ui/backtrace/`: Backtraces
123117

124118
Runtime panics and error handling generate backtraces to assist in debugging and diagnostics.
@@ -542,12 +536,6 @@ These tests are about very different topics, only unified by the fact that they
542536

543537
Accompanies `tests/ui/error-codes/`, exercises the `--explain` cli flag.
544538

545-
## `tests/ui/explicit/`: Errors involving the concept of "explicit"
546-
547-
This category contains three tests: two which are about the specific error `explicit use of destructor method`, and one which is about explicit annotation of lifetimes: https://doc.rust-lang.org/stable/rust-by-example/scope/lifetime/explicit.html.
548-
549-
**FIXME**: Rehome the two tests about the destructor method with `drop`-related categories, and rehome the last test with a category related to lifetimes.
550-
551539
## `tests/ui/explicit-tail-calls/`
552540

553541
Exercises `#![feature(explicit_tail_calls)]` and the `become` keyword. See [Explicit Tail Calls #3407](https://github.com/rust-lang/rfcs/pull/3407).
@@ -733,10 +721,6 @@ See [Instrument coverage | The rustc book](https://doc.rust-lang.org/rustc/instr
733721

734722
See [Tracking issue for `-Z instrument-xray` #102921](https://github.com/rust-lang/rust/issues/102921).
735723

736-
## `tests/ui/interior-mutability/`
737-
738-
**FIXME**: contains a single test, probably better rehomed.
739-
740724
## `tests/ui/internal/`
741725

742726
Tests for `internal_unstable` and the attribute header `#![feature(allow_internal_unstable)]`, which lets compiler developers mark features as internal to the compiler, and unstable for standard library use.
@@ -759,16 +743,6 @@ Various tests related to rejecting invalid inputs.
759743

760744
Tests for checking that invalid usage of compiler flags are rejected.
761745

762-
## `tests/ui/invalid-module-declaration/`
763-
764-
**FIXME**: Consider merging into module/resolve directories.
765-
766-
## `tests/ui/invalid-self-argument/`: `self` as a function argument incorrectly
767-
768-
Tests with erroneous ways of using `self`, such as having it not be the first argument, or using it in a non-associated function (no `impl` or `trait`).
769-
770-
**FIXME**: Maybe merge with `ui/self`.
771-
772746
## `tests/ui/io-checks/`
773747

774748
Contains a single test. The test tries to output a file into an invalid directory with `-o`, then checks that the result is an error, not an internal compiler error.
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/ui/explicit/explicit-call-to-supertrait-dtor.fixed renamed to tests/ui/drop/explicit-call-to-supertrait-dtor.fixed

File renamed without changes.
File renamed without changes.

tests/ui/explicit/explicit-call-to-supertrait-dtor.stderr renamed to tests/ui/drop/explicit-call-to-supertrait-dtor.stderr

File renamed without changes.

tests/ui/invalid-module-declaration/auxiliary/foo/bar.rs

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/ui/invalid-module-declaration/auxiliary/foo/mod.rs

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/ui/invalid-module-declaration/invalid-module-declaration.rs

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

0 commit comments

Comments
 (0)