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]
3
2
pub struct Foo {
4
3
/// 位
4
+ /// ^ Do not remove this tab character.
5
+ /// It was required to trigger the ICE.
5
6
pub bar : u8 ,
6
7
}
7
8
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
-
10
1
error: using tabs in doc comments is not recommended
11
- --> $DIR/ice-5835.rs:4 :10
2
+ --> $DIR/ice-5835.rs:3 :10
12
3
|
13
4
LL | /// 位
14
5
| ^^^^ help: consider using four spaces per tab
15
6
|
16
7
= note: `-D clippy::tabs-in-doc-comments` implied by `-D warnings`
17
8
18
- error: aborting due to 2 previous errors
9
+ error: aborting due to previous error
19
10
20
- For more information about this error, try `rustc --explain E0658`.
You can’t perform that action at this time.
0 commit comments