File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/rustc_middle/src/ty Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -165,15 +165,15 @@ pub struct TypeckResults<'tcx> {
165165 /// reading places that are mentioned in a closure (because of _ patterns). However,
166166 /// to ensure the places are initialized, we introduce fake reads.
167167 /// Consider these two examples:
168- /// ``` (discriminant matching with only wildcard arm)
168+ /// ```ignore (discriminant matching with only wildcard arm)
169169 /// let x: u8;
170170 /// let c = || match x { _ => () };
171171 /// ```
172172 /// In this example, we don't need to actually read/borrow `x` in `c`, and so we don't
173173 /// want to capture it. However, we do still want an error here, because `x` should have
174174 /// to be initialized at the point where c is created. Therefore, we add a "fake read"
175175 /// instead.
176- /// ``` (destructured assignments)
176+ /// ```ignore (destructured assignments)
177177 /// let c = || {
178178 /// let (t1, t2) = t;
179179 /// }
You can’t perform that action at this time.
0 commit comments