diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-10-22 00:43:23 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-10-22 00:43:23 +0200 |
| commit | b2f80ddf34124ac516139de751af3824ab190eef (patch) | |
| tree | 5e9adb6d6fa48379e5d9d66abf534cd81a3fec04 /src/test | |
| parent | f729f4a75e1dda17cb7bcf1e649aec4c68ad9c75 (diff) | |
| download | rust-b2f80ddf34124ac516139de751af3824ab190eef.tar.gz rust-b2f80ddf34124ac516139de751af3824ab190eef.zip | |
Fix multiple errors
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/rustdoc/assoc-consts.rs | 2 | ||||
| -rw-r--r-- | src/test/rustdoc/manual_impl.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/rustdoc/assoc-consts.rs b/src/test/rustdoc/assoc-consts.rs index 9ace8714918..d4f8e614ad0 100644 --- a/src/test/rustdoc/assoc-consts.rs +++ b/src/test/rustdoc/assoc-consts.rs @@ -99,7 +99,7 @@ impl Qux for Bar { /// Docs for QUX1 in impl. const QUX1: i8 = 5; // @has - '//*[@id="associatedconstant.QUX_DEFAULT0"]' 'const QUX_DEFAULT0: u16' - // @has - '//*[@class="docblock hidden"]' "Docs for QUX_DEFAULT12 in trait." + // @has - '//*[@class="docblock"]' "Docs for QUX_DEFAULT12 in trait." const QUX_DEFAULT0: u16 = 6; // @has - '//*[@id="associatedconstant.QUX_DEFAULT1"]' 'const QUX_DEFAULT1: i16' // @has - '//*[@class="docblock"]' "Docs for QUX_DEFAULT1 in impl." diff --git a/src/test/rustdoc/manual_impl.rs b/src/test/rustdoc/manual_impl.rs index 54a8a764833..ea46dae4f83 100644 --- a/src/test/rustdoc/manual_impl.rs +++ b/src/test/rustdoc/manual_impl.rs @@ -74,7 +74,7 @@ impl T for S2 { // @has manual_impl/struct.S3.html '//*[@class="trait"]' 'T' // @has - '//*[@class="docblock"]' 'Docs associated with the S3 trait implementation.' // @has - '//*[@class="docblock"]' 'Docs associated with the S3 trait b_method implementation.' -// @has - '//*[@class="docblock"]' 'Docs associated with the trait a_method definition.' +// @has - '//*[@class="docblock hidden"]' 'Docs associated with the trait a_method definition.' pub struct S3(usize); /// Docs associated with the S3 trait implementation. |
