]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-gui/no-docblock.goml
Rollup merge of #103774 - compiler-errors:dyn-trait-in-type-name, r=eholk
[rust.git] / src / test / rustdoc-gui / no-docblock.goml
1 // This test checks that there are margins applied to methods with no docblocks.
2 goto: "file://" + |DOC_PATH| + "/test_docs/trait.TraitWithNoDocblocks.html"
3 // Check that the two methods are more than 24px apart.
4 compare-elements-position-near-false: ("//*[@id='tymethod.first_fn']", "//*[@id='tymethod.second_fn']", {"y": 24})
5
6 goto: "file://" + |DOC_PATH| + "/test_docs/struct.TypeWithNoDocblocks.html"
7 // Check that the two methods are more than 24px apart.
8 compare-elements-position-near-false: ("//*[@id='method.first_fn']", "//*[@id='method.second_fn']", {"y": 24})