]>
git.proxmox.com Git - rustc.git/blob - src/test/rustdoc-ui/intra-links-warning.rs
3 //! Test with [Foo::baz], [Bar::foo], ...
4 //~^ WARNING `Foo::baz`
5 //~| WARNING `Bar::foo`
6 //! , [Uniooon::X] and [Qux::Z].
7 //~^ WARNING `Uniooon::X`
10 //! , [Uniooon::X] and [Qux::Z].
11 //~^ WARNING `Uniooon::X`
21 /// bar [BarA] bar //~ WARNING `BarA`
27 * bar [BarB] bar //~ WARNING `BarB`
34 bar [BarC] bar //~ WARNING `BarC`
45 #[doc = "Foo\nbar [BarD] bar\nbaz"] //~ WARNING `BarD`
50 #[doc = $f] //~ WARNING `BarF`
54 f
!("Foo\nbar [BarF] bar\nbaz");
58 * time to introduce a link [error]*/ //~ WARNING `error`
64 * time to introduce a link [error] //~ WARNING `error`
68 #[doc = "single line [error]"] //~ WARNING `error`
71 #[doc = "single line with \"escaping\" [error]"] //~ WARNING `error`
74 /// Item docs. //~ WARNING `error`
80 /// docs [error1] //~ WARNING `error1`
82 /// docs [error2] //~ WARNING `error2`