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