]> git.proxmox.com Git - rustc.git/blob - src/test/rustdoc/double-quote-escape.rs
New upstream version 1.60.0+dfsg1
[rustc.git] / src / test / rustdoc / double-quote-escape.rs
1 #![crate_name = "foo"]
2
3
4 pub trait Foo<T> {
5 fn foo() {}
6 }
7
8 pub struct Bar;
9
10 // @has foo/struct.Bar.html
11 // @has - '//*[@class="sidebar-elems"]//section//a[@href="#impl-Foo%3Cunsafe%20extern%20%22C%22%20fn()%3E"]' 'Foo<unsafe extern "C" fn()>'
12 impl Foo<unsafe extern "C" fn()> for Bar {}