Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
try-block
/
try-block-in-while.rs
blob: 33d27236519290134c5fdf4fb8dd9d0e6cacda6e [
file
] [
log
] [
blame
]
// compile-flags: --edition 2018
#![
feature
(
try_blocks
)]
fn
main
()
{
while
try
{
false
}
{}
//~^ ERROR the trait bound `bool: std::ops::Try` is not satisfied
}