]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_ast/src/ast.rs
fix most compiler/ doctests
[rust.git] / compiler / rustc_ast / src / ast.rs
index cdcd221e811a77c2f21888b6eccd617897b94f2f..1e2c4f31d3df34a21a5076774b3d69921aa7791d 100644 (file)
@@ -573,7 +573,7 @@ pub struct Block {
     pub span: Span,
     pub tokens: Option<LazyTokenStream>,
     /// The following *isn't* a parse error, but will cause multiple errors in following stages.
-    /// ```
+    /// ```compile_fail
     /// let x = {
     ///     foo: var
     /// };