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