rust/tests
Matthias Krüger 8b49731211
Rollup merge of #115744 - fmease:fix-e0401, r=compiler-errors
Improve diagnostic for generic params from outer items (E0401)

Generalize the wording of E0401 to talk about *outer items* instead of *outer functions* since the current phrasing is outdated. The outer item can be a function, constant, trait, ADT or impl block (see the new UI test for the more exotic examples).

Further, don't suggest introducing generic parameters to constant items unless the feature `generic_const_items` is enabled.

Lastly, make E0401 translatable while we're at it.

Fixes #115720.
2023-09-11 17:03:32 +02:00
..
assembly
auxiliary
codegen Auto merge of #115417 - dpaoliello:fixdi, r=wesleywiser 2023-09-08 20:56:01 +00:00
codegen-units
coverage-map Copy most of tests/run-coverage into tests/coverage-map/status-quo 2023-09-05 11:55:34 +10:00
debuginfo tests: add test for #67992 2023-08-25 10:31:22 +01:00
incremental
mir-opt Disentangle Debug and Display for Ty. 2023-09-11 12:51:07 +10:00
pretty
run-coverage update tests that are ignored by debug 2023-09-01 04:01:54 +08:00
run-coverage-rustdoc Tidy up some awkwardly-placed comments in tests 2023-08-26 14:35:34 +10:00
run-make tests: use warning output from rustc to catch missing compression 2023-09-08 11:30:24 -04:00
run-make-fulldeps Add missing Debuginfo to PDB debug file on windows. 2023-09-08 00:28:40 +02:00
run-pass-valgrind
rustdoc rustdoc: add impl items from aliased type into sidebar 2023-09-08 14:59:54 -07:00
rustdoc-gui Migrate GUI colors test to original CSS color format 2023-09-10 14:10:10 +02:00
rustdoc-js Correctly handle paths from foreign items 2023-09-02 23:04:37 +02:00
rustdoc-js-std Add tests for type-based search 2023-09-01 15:16:11 +02:00
rustdoc-json Fix rustdoc-json tests 2023-08-23 11:52:49 -07:00
rustdoc-ui rustdoc: use unicode-aware checks for redundant explicit link fastpath 2023-08-21 14:25:26 -07:00
ui Rollup merge of #115744 - fmease:fix-e0401, r=compiler-errors 2023-09-11 17:03:32 +02:00
ui-fulldeps Auto merge of #115387 - weihanglo:merge-check-and-lint, r=oli-obk 2023-09-11 08:56:29 +00:00
COMPILER_TESTS.md