Yeet E0744

This commit is contained in:
Michael Goulet
2023-11-28 20:40:38 +00:00
parent f2c500bb43
commit dd5abb50cc
4 changed files with 8 additions and 15 deletions

View File

@@ -1,8 +1,10 @@
#### Note: this error code is no longer emitted by the compiler.
An unsupported expression was used inside a const context.
Erroneous code example:
```compile_fail,edition2018,E0744
```ignore (removed error code)
const _: i32 = {
async { 0 }.await
};