rust/tests
bors 4c5fc2c334 Auto merge of #130050 - cjgillot:expect-attr-id, r=fee1-dead
Enumerate lint expectations using AttrId

This PR implements the idea I outlined in https://github.com/rust-lang/rust/issues/127884#issuecomment-2240338547

We can uniquely identify a lint expectation `#[expect(lint0, lint1...)]` using the `AttrId` and the index of the lint inside the attribute. This PR uses this property in `check_expectations`.

In addition, this PR stops stashing expected diagnostics to wait for the unstable -> stable `LintExpectationId` mapping: if the lint is emitted with an unstable attribute, it must have been emitted by an `eval_always` query (like inside the resolver), so won't be loaded from cache. Decoding an `AttrId` from the on-disk cache ICEs, so we have no risk of accidentally checking an expectation.

Fixes https://github.com/rust-lang/rust/issues/127884

cc `@xFrednet`
2024-09-11 04:49:56 +00:00
..
assembly Ban non-array SIMD 2024-09-09 19:39:43 -07:00
auxiliary
codegen Auto merge of #129403 - scottmcm:only-array-simd, r=compiler-errors 2024-09-10 22:47:40 +00:00
codegen-units Fix and enable disabled codegen-units tests 2024-08-10 14:03:27 -04:00
coverage coverage: Treat await similar to a macro 2024-09-06 17:01:59 +12:00
coverage-run-rustdoc
crashes Auto merge of #129346 - nnethercote:fix-double-handling-in-collect_tokens, r=petrochenkov 2024-09-08 05:35:23 +00:00
debuginfo Ban non-array SIMD 2024-09-09 19:39:43 -07:00
incremental Ban non-array SIMD 2024-09-09 19:39:43 -07:00
mir-opt Rollup merge of #129706 - compiler-errors:scratch, r=estebank 2024-09-05 18:58:55 +02:00
pretty Allow missing_docs lint on the generated test harness 2024-09-09 14:51:39 +02:00
run-make Auto merge of #129403 - scottmcm:only-array-simd, r=compiler-errors 2024-09-10 22:47:40 +00:00
run-pass-valgrind
rustdoc Auto merge of #129403 - scottmcm:only-array-simd, r=compiler-errors 2024-09-10 22:47:40 +00:00
rustdoc-gui Rollup merge of #129796 - GuillaumeGomez:unify-code-examples, r=notriddle 2024-09-05 18:58:56 +02:00
rustdoc-js rustdoc-search: allow trailing Foo -> arg search 2024-09-05 17:58:05 -07:00
rustdoc-js-std rustdoc-search: allow trailing Foo -> arg search 2024-09-05 17:58:05 -07:00
rustdoc-json rustdoc: normalise type/field names in rustdoc-json-types/jsondoclint 2024-09-01 23:58:08 +03:00
rustdoc-ui rustdoc: add two regression tests 2024-09-09 22:35:10 +02:00
ui Auto merge of #130050 - cjgillot:expect-attr-id, r=fee1-dead 2024-09-11 04:49:56 +00:00
ui-fulldeps Add an internal lint that warns when accessing untracked data 2024-09-03 19:14:19 +02:00
COMPILER_TESTS.md