rust-clippy/tests/ui/crashes/ice-5835.fixed

12 lines
311 B
Rust
Raw Normal View History

2023-07-27 11:40:22 +00:00
#[rustfmt::skip]
pub struct Foo {
/// 位
//~^ ERROR: using tabs in doc comments is not recommended
//~| NOTE: `-D clippy::tabs-in-doc-comments` implied by `-D warnings`
2023-07-27 11:40:22 +00:00
/// ^ Do not remove this tab character.
/// It was required to trigger the ICE.
pub bar: u8,
}
fn main() {}