Commit 2fa148e
authored
Rollup merge of rust-lang#126735 - bvanjoi:fix-126647, r=petrochenkov
collect attrs in const block expr
Fixes rust-lang#126516
Fixes rust-lang#126647
It was forgotten to collect these attributes in the const block expression.
r? `@petrochenkov`File tree
3 files changed
+20
-0
lines changed- compiler/rustc_resolve/src
- tests/ui/resolve
3 files changed
+20
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
346 | 349 | | |
347 | 350 | | |
348 | 351 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments