rust/tests/rustdoc/double-quote-escape.rs

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

12 lines
298 B
Rust
Raw Normal View History

2017-11-28 05:05:53 -06:00
#![crate_name = "foo"]
pub trait Foo<T> {
fn foo() {}
}
pub struct Bar;
// @has foo/struct.Bar.html
2022-07-05 08:10:12 -05:00
// @has - '//*[@class="sidebar-elems"]//section//a[@href="#impl-Foo%3Cunsafe%20extern%20%22C%22%20fn()%3E-for-Bar"]' 'Foo<unsafe extern "C" fn()>'
2017-11-28 05:05:53 -06:00
impl Foo<unsafe extern "C" fn()> for Bar {}