rust/tests/rustdoc-ui/intra-doc/span-ice-55723.rs

14 lines
358 B
Rust
Raw Normal View History

#![deny(rustdoc::broken_intra_doc_links)]
// An error in calculating spans while reporting intra-doc link resolution errors caused rustdoc to
// attempt to slice in the middle of a multibyte character. See
// https://github.com/rust-lang/rust/issues/55723
/// ## For example:
2018-11-30 09:20:07 -06:00
///
/// arr[i]
//~^ ERROR `i`
pub fn test_ice() {
unimplemented!();
}