We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
FakeRead
1 parent 2cb5e3d commit 6ca2ad5Copy full SHA for 6ca2ad5
src/librustc/mir/mod.rs
@@ -1760,7 +1760,8 @@ pub enum StatementKind<'tcx> {
1760
/// kind of pattern it comes from. This is in order to adapt potential
1761
/// error messages to these specific patterns.
1762
///
1763
- /// Note that this also is emitted for regular `let` bindings to aid destructuring diagnostics
+ /// Note that this also is emitted for regular `let` bindings to ensure that locals that are
1764
+ /// never accessed still get some sanity checks for e.g. `let x: ! = ..;`
1765
FakeRead(FakeReadCause, Place<'tcx>),
1766
1767
/// Write the discriminant for a variant to the enum Place.
0 commit comments