2023-03-19 12:02:11 -05:00
|
|
|
// This test ensures that no footnote reference is generated inside
|
|
|
|
// summary doc.
|
|
|
|
|
|
|
|
#![crate_name = "foo"]
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has 'foo/index.html'
|
|
|
|
//@ has - '//*[@class="desc docblock-short"]' 'hello bla'
|
|
|
|
//@ !has - '//*[@class="desc docblock-short"]/sup' '1'
|
2023-03-19 12:02:11 -05:00
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has 'foo/struct.S.html'
|
|
|
|
//@ has - '//*[@class="docblock"]//sup' '1'
|
|
|
|
//@ has - '//*[@class="docblock"]' 'hello 1 bla'
|
2023-03-19 12:02:11 -05:00
|
|
|
|
|
|
|
/// hello [^foot] bla
|
|
|
|
///
|
|
|
|
/// [^foot]: blabla
|
|
|
|
pub struct S;
|