about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/std_example.rs
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-03-02 17:45:38 +1100
committerZalathar <Zalathar@users.noreply.github.com>2024-03-02 20:49:29 +1100
commit972d8daf47d8a61e00304e1e362b32ca380ce947 (patch)
tree16e4f1a7d093364b659163cbdbcf58024be1dd41 /compiler/rustc_codegen_gcc/example/std_example.rs
parent4cdd20584ccb75890d7d9bfae266054abfae5d46 (diff)
downloadrust-972d8daf47d8a61e00304e1e362b32ca380ce947.tar.gz
rust-972d8daf47d8a61e00304e1e362b32ca380ce947.zip
The ordinary lowering of `thir::ExprKind::Let` is unreachable
After desugaring, `let` expressions should only appear inside `if` expressions
or `match` guards, possibly nested within a let-chain. In both cases they are
specifically handled by the lowerings of those expressions, so this case is
currently unreachable.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions