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