File tree Expand file tree Collapse file tree 2 files changed +5
-14
lines changed Expand file tree Collapse file tree 2 files changed +5
-14
lines changed Original file line number Diff line number Diff line change 1- #![ rustfmt:: skip]
2-
1+ #[ rustfmt:: skip]
32pub struct Foo {
43 /// 位
4+ /// ^ Do not remove this tab character.
5+ /// It was required to trigger the ICE.
56 pub bar : u8 ,
67}
78
Original file line number Diff line number Diff line change 1- error[E0658]: custom inner attributes are unstable
2- --> $DIR/ice-5835.rs:1:4
3- |
4- LL | #![rustfmt::skip]
5- | ^^^^^^^^^^^^^
6- |
7- = note: see issue #54726 <https://github.com/rust-lang/rust/issues/54726> for more information
8- = help: add `#![feature(custom_inner_attributes)]` to the crate attributes to enable
9-
101error: using tabs in doc comments is not recommended
11- --> $DIR/ice-5835.rs:4 :10
2+ --> $DIR/ice-5835.rs:3 :10
123 |
134LL | /// 位
145 | ^^^^ help: consider using four spaces per tab
156 |
167 = note: `-D clippy::tabs-in-doc-comments` implied by `-D warnings`
178
18- error: aborting due to 2 previous errors
9+ error: aborting due to previous error
1910
20- For more information about this error, try `rustc --explain E0658`.
You can’t perform that action at this time.
0 commit comments