]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_typeck/src/check/generator_interior/drop_ranges/cfg_build.rs
fix most compiler/ doctests
[rust.git] / compiler / rustc_typeck / src / check / generator_interior / drop_ranges / cfg_build.rs
index 721f251650f54656a68497be907d8abfa01561b0..df8db0da6448259d24591d2afa036d52c38f5026 100644 (file)
@@ -71,7 +71,7 @@ pub(super) fn build_control_flow_graph<'tcx>(
 /// ```
 ///
 /// Rule 3:
-/// ```rust
+/// ```compile_fail,E0382
 /// let mut a = (vec![0], vec![0]);
 /// drop(a);
 /// a.1 = vec![1];