We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 430d6ed commit 2b11851Copy full SHA for 2b11851
compiler/rustc_middle/src/thir.rs
@@ -838,6 +838,8 @@ pub enum PatKind<'tcx> {
838
/// * integer, bool, char or float (represented as a valtree), which will be handled by
839
/// exhaustiveness to cover exactly its own value, similar to `&str`, but these values are
840
/// much simpler.
841
+ /// * raw pointers derived from integers, other raw pointers will have already resulted in an
842
+ // error.
843
/// * `String`, if `string_deref_patterns` is enabled.
844
Constant {
845
value: mir::Const<'tcx>,
0 commit comments