Files
rust/compiler
Dylan DPC 6c3cbcd333 Rollup merge of #113803 - compiler-errors:const-interp-block, r=fee1-dead
Fix inline_const with interpolated block

Interpolation already worked when we had a `const $block` that wasn't a statement expr:

```
fn foo() {
  let _ = const $block;
}
```

But it was failing when the const block was in statement expr position:

```
fn foo() {
  const $block;
}
```

... because of a bug in a check for const items. This fixes that.

---

cc https://github.com/rust-lang/rust/pull/112953#issuecomment-1631354481, though I don't think this requires an FCP since it's already supported in exprs and seems to me to be fully a parser bug.
2023-07-19 22:37:08 +05:30
..
2023-03-11 10:53:47 -06:00
2023-07-12 21:38:55 -04:00
2023-05-02 10:45:16 -07:00
2023-07-03 07:20:51 +00:00
2023-07-02 21:02:31 +02:00
2023-07-19 16:37:09 +00:00
2023-07-03 13:51:54 -07:00