Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix rustfmt error / Add comment for tab character
- Loading branch information
Showing
2 changed files
with
5 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,10 @@ | ||
error[E0658]: custom inner attributes are unstable | ||
--> $DIR/ice-5835.rs:1:4 | ||
| | ||
LL | #![rustfmt::skip] | ||
| ^^^^^^^^^^^^^ | ||
| | ||
= note: see issue #54726 <https://github.com/rust-lang/rust/issues/54726> for more information | ||
= help: add `#![feature(custom_inner_attributes)]` to the crate attributes to enable | ||
|
||
error: using tabs in doc comments is not recommended | ||
--> $DIR/ice-5835.rs:4:10 | ||
--> $DIR/ice-5835.rs:3:10 | ||
| | ||
LL | /// 位 | ||
| ^^^^ help: consider using four spaces per tab | ||
| | ||
= note: `-D clippy::tabs-in-doc-comments` implied by `-D warnings` | ||
|
||
error: aborting due to 2 previous errors | ||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0658`. |