index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
tests
/
ui
/
let-else
/
let-else.rs
blob: 01a92e4358719ce2c0741066a9c9f82f47f3bbad (
plain
)
1
2
3
4
5
6
7
8
//@ run-pass fn main() { let Some(x) = Some(1) else { return; }; assert_eq!(x, 1); }