Content-Length: 24136 | pFad | https://doc.rust-lang.org/std/string/../error/../string/../../std/../error_codes/./E0744.html

E0744 - Error codes index

Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Error code E0744

Note: this error code is no longer emitted by the compiler.

An unsupported expression was used inside a const context.

Erroneous code example:

const _: i32 = {
    async { 0 }.await
};

At the moment, .await is forbidden inside a const, static, or const fn.

This may be allowed at some point in the future, but the implementation is not yet complete. See the tracking issue for async in const fn.









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://doc.rust-lang.org/std/string/../error/../string/../../std/../error_codes/./E0744.html

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy