Sign in
fuchsia
/
third_party
/
rust
/
51cc3cdcf060c1bf3e4d45947f7a6bc20f9960f7
/
.
/
src
/
test
/
ui
/
parser
/
doc-before-struct-rbrace-2.rs
blob: d5c2a314cbbf863969637cdd9305c67a239dd32b [
file
] [
log
] [
blame
]
// compile-flags: -Z continue-parse-after-error
struct
X
{
a
:
u8
/// document
//~^ ERROR found a documentation comment that doesn't document anything
//~| HELP maybe a comment was intended
}
fn
main
()
{
let
y
=
X
{
a
:
1
};
}