File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 11#![ crate_name = "foo" ]
22
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"
3+ // @has foo/fn.bar.html '//*[@class="tooltip compile_fail"]' "ⓘ"
4+ // @has foo/fn.bar.html '//*[@class="tooltip ignore"]' "ⓘ"
5+ // @has foo/fn.bar.html '//*[@class="tooltip should_panic"]' "ⓘ"
6+ // @has foo/fn.bar.html '//*[@edition="2018"]' "ⓘ"
87
98/// foo
109///
2019/// hoo();
2120/// ```
2221///
23- /// ```
22+ /// ```edition2018
2423/// let x = 0;
2524/// ```
2625pub fn bar ( ) -> usize { 2 }
You can’t perform that action at this time.
0 commit comments