rust/tests/rustdoc-ui/intra-doc/malformed-generics.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
586 B
Rust
Raw Normal View History

#![deny(rustdoc::broken_intra_doc_links)]
//! [Vec<] //~ ERROR
//! [Vec<Box<T] //~ ERROR
//! [Vec<Box<T>] //~ ERROR
2022-09-13 05:01:07 -05:00
//~^ WARN
//! [Vec<Box<T>>>] //~ ERROR
2022-09-13 05:01:07 -05:00
//~^ WARN
//! [Vec<T>>>] //~ ERROR
2022-09-13 05:01:07 -05:00
//~^ WARN
//! [<Vec] //~ ERROR
//! [Vec::<] //~ ERROR
//! [<T>] //~ ERROR
2022-09-13 05:01:07 -05:00
//~^ WARN
//! [<invalid syntax>] //~ ERROR
2022-09-13 05:01:07 -05:00
//~^ WARN
//! [Vec:<T>:new()] //~ ERROR
2022-09-13 05:01:07 -05:00
//~^ WARN
//! [Vec<<T>>] //~ ERROR
2022-09-13 05:01:07 -05:00
//~^ WARN
//! [Vec<>] //~ ERROR
//! [Vec<<>>] //~ ERROR
// FIXME(#74563) support UFCS
//! [<Vec as IntoIterator>::into_iter] //~ ERROR
2022-09-13 05:01:07 -05:00
//~^ WARN
//! [<Vec<T> as IntoIterator>::iter] //~ ERROR
2022-09-13 05:01:07 -05:00
//~^ WARN