| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-09-13 | Update tests for hidden references to mutable static | Obei Sideg | -33/+3 | |
| 2024-07-18 | Use more accurate span for `addr_of!` suggestion | Esteban Küber | -2/+2 | |
| Use a multipart suggestion instead of a single whole-span replacement: ``` error[E0796]: creating a shared reference to a mutable static --> $DIR/reference-to-mut-static-unsafe-fn.rs:10:18 | LL | let _y = &X; | ^^ shared reference to mutable static | = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior help: use `addr_of!` instead to create a raw pointer | LL | let _y = addr_of!(X); | ~~~~~~~~~ + ``` | ||||
| 2024-04-15 | Use the rustc_private libc less in tests | Ben Kimock | -8/+6 | |
| 2024-03-11 | Update test directives for `wasm32-wasip1` | Alex Crichton | -4/+2 | |
| * The WASI targets deal with the `main` symbol a bit differently than native so some `codegen` and `assembly` tests have been ignored. * All `ignore-emscripten` directives have been updated to `ignore-wasm32` to be more clear that all wasm targets are ignored and it's not just Emscripten. * Most `ignore-wasm32-bare` directives are now gone. * Some ignore directives for wasm were switched to `needs-unwind` instead. * Many `ignore-wasm32*` directives are removed as the tests work with WASI as opposed to `wasm32-unknown-unknown`. | ||||
| 2024-02-18 | Improve wording of static_mut_ref | Obei Sideg | -13/+13 | |
| Rename `static_mut_ref` lint to `static_mut_refs`. | ||||
| 2024-02-16 | [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives | 许杰友 Jieyou Xu (Joe) | -2/+2 | |
| 2024-01-07 | Update test for `E0796` and `static_mut_ref` lint | Obei Sideg | -0/+33 | |
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -0/+41 | |
