]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/double-quote-escape.rs
Rollup merge of #69007 - GuillaumeGomez:clean-up-e0283, r=Dylan-DPC
[rust.git] / src / test / rustdoc / double-quote-escape.rs
1 #![crate_name = "foo"]
2
3 // ignore-tidy-linelength
4
5 pub trait Foo<T> {
6     fn foo() {}
7 }
8
9 pub struct Bar;
10
11 // @has foo/struct.Bar.html
12 // @has - '//*[@class="sidebar-links"]/a[@href="#impl-Foo%3Cunsafe%20extern%20%22C%22%20fn()%3E"]' 'Foo<unsafe extern "C" fn()>'
13 impl Foo<unsafe extern "C" fn()> for Bar {}