#63628 (comment)
expected one of !, ., ::, ;, ?, {, }, or an operator, found is
./reg/google-games1/1.0.10+20190627/beta-2019-08-13.txt:[INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `is`
Minimized reproduction, run with rustdoc --test (all the whitespace is important!):
/// #
///
/// ident ident
fn f() {}
Apparently something makes this comment look like code to rustdoc, so it tries to doctest it.
Actually, stable rustdoc also gives an error for this, from what I tried locally, not sure why it passed on crater.
cc @rust-lang/rustdoc
@shepmaster explains what happens in #63628 (comment).
#63628 (comment)
Minimized reproduction, run with
rustdoc --test(all the whitespace is important!):Apparently something makes this comment look like code to
rustdoc, so it tries to doctest it.Actually, stable rustdoc also gives an error for this, from what I tried locally, not sure why it passed on crater.
cc @rust-lang/rustdoc
@shepmaster explains what happens in #63628 (comment).