Yeet E0744
This commit is contained in:
parent
f2c500bb43
commit
dd5abb50cc
4 changed files with 8 additions and 15 deletions
|
@ -653,3 +653,4 @@ E0795: include_str!("./error_codes/E0795.md"),
|
|||
// E0721, // `await` keyword
|
||||
// E0723, // unstable feature in `const` context
|
||||
// E0738, // Removed; errored on `#[track_caller] fn`s in `extern "Rust" { ... }`.
|
||||
// E0744, // merged into E0728
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue