1
Fork 0
rust/src/test/rustdoc-ui/intra-link-span-ice-55723.rs

14 lines
395 B
Rust
Raw Normal View History

#![deny(intra_doc_link_resolution_failure)]
// 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 16:20:07 +01:00
///
/// arr[i]
2019-11-25 14:24:53 +01:00
//~^ ERROR `[i]` cannot be resolved, ignoring it.
pub fn test_ice() {
unimplemented!();
}