2020-12-29 22:16:16 -06:00
|
|
|
|
#![deny(rustdoc::broken_intra_doc_links)]
|
2018-11-14 18:14:31 -06:00
|
|
|
|
|
|
|
|
|
// 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
|
|
|
|
///
|
2018-11-14 18:14:31 -06:00
|
|
|
|
/// (arr[i])
|
2020-07-19 12:03:35 -05:00
|
|
|
|
//~^ ERROR `i`
|
2018-11-14 18:14:31 -06:00
|
|
|
|
pub fn test_ice() {
|
|
|
|
|
unimplemented!();
|
|
|
|
|
}
|