]> git.lizzy.rs Git - rust.git/blobdiff - src/test/rustdoc/assoc-consts-version.rs
Suggest defining type parameter when appropriate
[rust.git] / src / test / rustdoc / assoc-consts-version.rs
index c561269cf9a856fab03feacda61a7ccb061fabb7..6060bc0a6fd5c4d62b70a3b35f691fbe1d5f8a7e 100644 (file)
@@ -1,5 +1,3 @@
-// ignore-tidy-linelength
-
 #![crate_name = "foo"]
 
 #![feature(staged_api)]
@@ -10,7 +8,8 @@
 pub struct SomeStruct;
 
 impl SomeStruct {
-    // @has 'foo/struct.SomeStruct.html' '//*[@id="associatedconstant.SOME_CONST"]//div[@class="since"]' '1.1.2'
+    // @has 'foo/struct.SomeStruct.html' \
+    //   '//*[@id="associatedconstant.SOME_CONST"]//span[@class="since"]' '1.1.2'
     #[stable(since="1.1.2", feature="rust2")]
     pub const SOME_CONST: usize = 0;
 }