From c46f3ff12b0a0b9c55df89eeb92603e9e488b2a7 Mon Sep 17 00:00:00 2001 From: Ulrik Sverdrup Date: Sat, 9 May 2015 00:16:20 +0200 Subject: rustdoc: Add Associated Constants section Section only visible if there are assoc. consts. present. --- src/test/rustdoc/assoc-consts.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/test') diff --git a/src/test/rustdoc/assoc-consts.rs b/src/test/rustdoc/assoc-consts.rs index cd8d7ec16dc..20d4c744414 100644 --- a/src/test/rustdoc/assoc-consts.rs +++ b/src/test/rustdoc/assoc-consts.rs @@ -13,6 +13,7 @@ pub trait Foo { // @has assoc_consts/trait.Foo.html '//*[@class="rust trait"]' \ // 'const FOO: usize;' + // @has - '//*[@id="associatedconstant.FOO"]' 'const FOO' const FOO: usize; } -- cgit 1.4.1-3-g733a5