Sign in
fuchsia
/
third_party
/
rust
/
fad27df3e7aafbd83341df34d397fe4015f69679
/
.
/
src
/
test
/
ui
/
async-await
/
dont-print-desugared-async.rs
blob: 8150a260866b98951e76ea346400138c85f4cb50 [
file
] [
log
] [
blame
]
// Test that we don't show variables with from async fn desugaring
// edition:2018
#![
feature
(
async_await
)]
async
fn
async_fn
(&
ref
mut
s
:
&[
i32
])
{}
//~^ ERROR cannot borrow data in a `&` reference as mutable [E0596]
fn
main
()
{}