Matthias Krüger d40c827e9a
Rollup merge of #110035 - Ezrashaw:improve-test-attr-expansion-code, r=davidtwco
fix: ensure bad `#[test]` invocs retain correct AST

Fixes #109816

Ensures that a `StmtKind::Item` doesn't get converted into a plain `Item` (causing the ICE from the linked issue) Also unifies the error path a bit.
2023-04-12 22:04:32 +02:00
..
2023-04-03 09:24:11 +02:00
2023-04-03 20:45:02 +02:00
2023-04-03 09:24:07 +02:00
2023-04-03 09:24:11 +02:00
2023-04-03 15:59:21 +00:00
2023-04-11 17:45:42 +00:00
2023-04-03 09:24:11 +02:00
2023-04-08 08:50:46 +00:00
2023-04-05 15:59:29 +00:00
2023-04-03 09:24:11 +02:00
2023-04-06 23:01:40 -04:00
2023-04-03 09:24:11 +02:00
2023-04-07 18:07:11 +10:00
2023-04-05 01:01:45 +09:00
2023-04-03 15:59:21 +00:00
2023-04-07 09:11:53 +02:00
2023-04-03 09:24:11 +02:00
2023-04-06 23:01:40 -04:00
2023-04-03 15:59:21 +00:00
2023-04-03 15:59:21 +00:00
2023-04-04 14:10:13 +01:00
2023-04-03 09:24:11 +02:00
2023-03-22 15:15:41 -07:00
2023-03-29 18:04:44 -04:00
2023-04-05 15:59:29 +00:00
2023-04-10 16:08:14 +00:00
2023-04-05 15:59:29 +00:00