Sign in
fuchsia
/
third_party
/
rust
/
3b4b9a4247febf0e71f3480fd34775850b77fea4
/
.
/
src
/
test
/
ui
/
await-keyword
/
2018-edition-no-error-with-feature-gate.rs
blob: 52d32c8351080a4a3328f65f5abaa6fd6e411a12 [
file
] [
log
] [
blame
]
// compile-pass
// edition:2018
#![
allow
(
non_camel_case_types
)]
#![
feature
(
async_await
)]
mod
outer_mod
{
pub
mod
await
{
pub
struct
await
;
}
}
use
self
::
outer_mod
::
await
::
await
;
fn
main
()
{
match
await
{
await
=>
()
}
}