fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error: expected one of `.`, `;`, `?`, `}`, or an operator, found doc comment `//!self.allow_ty_infer()` 2 --> $DIR/doc-comment-in-stmt.rs:3:5 3 | 4LL | false 5 | - expected one of `.`, `;`, `?`, `}`, or an operator 6LL | //!self.allow_ty_infer() 7 | ^^^^^^^^^^^^^^^^^^^^^^^^ unexpected token 8 | 9help: add a space before `!` to use a regular comment 10 | 11LL | // !self.allow_ty_infer() 12 | ^^^^ 13 14error: expected one of `.`, `;`, `?`, `}`, or an operator, found doc comment `/*! bar */` 15 --> $DIR/doc-comment-in-stmt.rs:9:5 16 | 17LL | false 18 | - expected one of `.`, `;`, `?`, `}`, or an operator 19LL | /*! bar */ 20 | ^^^^^^^^^^ unexpected token 21 | 22help: add a space before `!` to use a regular comment 23 | 24LL | /* ! bar */ 25 | ^^^^ 26 27error: expected one of `.`, `;`, `?`, `}`, or an operator, found doc comment `/** baz */` 28 --> $DIR/doc-comment-in-stmt.rs:13:7 29 | 30LL | 1 /** baz */ 31 | ^^^^^^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator 32 | 33help: add a space before `*` to use a regular comment 34 | 35LL | 1 /* * baz */ 36 | ^^^^ 37 38error: expected one of `.`, `;`, `?`, `}`, or an operator, found doc comment `/*! quux */` 39 --> $DIR/doc-comment-in-stmt.rs:17:7 40 | 41LL | 2 /*! quux */ 42 | ^^^^^^^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator 43 | 44help: add a space before `!` to use a regular comment 45 | 46LL | 2 /* ! quux */ 47 | ^^^^ 48 49error: aborting due to 4 previous errors 50