We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db8ddbf commit 9b62936Copy full SHA for 9b62936
src/test/rustdoc/codeblock-title.rs
@@ -1,10 +1,9 @@
1
#![crate_name = "foo"]
2
3
-// ignore-tidy-linelength
4
-
5
-// @has foo/fn.bar.html '//*[@class="tooltip compile_fail"]/span' "This example deliberately fails to compile"
6
-// @has foo/fn.bar.html '//*[@class="tooltip ignore"]/span' "This example is not tested"
7
-// @has foo/fn.bar.html '//*[@class="tooltip should_panic"]/span' "This example panics"
+// @has foo/fn.bar.html '//*[@class="tooltip compile_fail"]' "ⓘ"
+// @has foo/fn.bar.html '//*[@class="tooltip ignore"]' "ⓘ"
+// @has foo/fn.bar.html '//*[@class="tooltip should_panic"]' "ⓘ"
+// @has foo/fn.bar.html '//*[@edition="2018"]' "ⓘ"
8
9
/// foo
10
///
@@ -20,7 +19,7 @@
20
19
/// hoo();
21
/// ```
22
23
-/// ```
+/// ```edition2018
24
/// let x = 0;
25
26
pub fn bar() -> usize { 2 }
0 commit comments