]> git.lizzy.rs Git - rust.git/blobdiff - src/test/rustdoc-ui/invalid-syntax.stderr
Rollup merge of #68475 - Aaron1011:fix/forest-caching, r=nikomatsakis
[rust.git] / src / test / rustdoc-ui / invalid-syntax.stderr
index 32cc20755ecf4b189a20dd1cc61f4f73f8296e4e..a90d3bbb979f66ad7edf09e2f2b24bb91af954c6 100644 (file)
@@ -132,3 +132,18 @@ LL | ///     \____/
    |
    = note: error from rustc: unknown start of token: \
 
+warning: could not parse code block as Rust code
+  --> $DIR/invalid-syntax.rs:97:5
+   |
+LL |   /// ```
+   |  _____^
+LL | | /// "invalid
+LL | | /// ```
+   | |_______^
+   |
+   = note: error from rustc: unterminated double quote string
+help: mark blocks that do not contain Rust code as text
+   |
+LL | /// ```text
+   |     ^^^^^^^
+