|
|
|
@@ -113,12 +113,6 @@ See [Tracking Issue for autodiff #124509](https://github.com/rust-lang/rust/issu
|
|
|
|
|
|
|
|
|
|
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".
|
|
|
|
|
|
|
|
|
|
## `tests/ui/auxiliary/`: Auxiliary files for tests directly under `tests/ui`.
|
|
|
|
|
|
|
|
|
|
This top-level `auxiliary` subdirectory contains support files for tests immediately under `tests/ui/`.
|
|
|
|
|
|
|
|
|
|
**FIXME(#133895)**: tests immediately under `tests/ui/` should be rehomed to more suitable subdirectories, after which this subdirectory can be removed.
|
|
|
|
|
|
|
|
|
|
## `tests/ui/backtrace/`: Backtraces
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
Accompanies `tests/ui/error-codes/`, exercises the `--explain` cli flag.
|
|
|
|
|
|
|
|
|
|
## `tests/ui/explicit/`: Errors involving the concept of "explicit"
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
**FIXME**: Rehome the two tests about the destructor method with `drop`-related categories, and rehome the last test with a category related to lifetimes.
|
|
|
|
|
|
|
|
|
|
## `tests/ui/explicit-tail-calls/`
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
See [Tracking issue for `-Z instrument-xray` #102921](https://github.com/rust-lang/rust/issues/102921).
|
|
|
|
|
|
|
|
|
|
## `tests/ui/interior-mutability/`
|
|
|
|
|
|
|
|
|
|
**FIXME**: contains a single test, probably better rehomed.
|
|
|
|
|
|
|
|
|
|
## `tests/ui/internal/`
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
Tests for checking that invalid usage of compiler flags are rejected.
|
|
|
|
|
|
|
|
|
|
## `tests/ui/invalid-module-declaration/`
|
|
|
|
|
|
|
|
|
|
**FIXME**: Consider merging into module/resolve directories.
|
|
|
|
|
|
|
|
|
|
## `tests/ui/invalid-self-argument/`: `self` as a function argument incorrectly
|
|
|
|
|
|
|
|
|
|
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`).
|
|
|
|
|
|
|
|
|
|
**FIXME**: Maybe merge with `ui/self`.
|
|
|
|
|
|
|
|
|
|
## `tests/ui/io-checks/`
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|