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 64fc4f6Copy full SHA for 64fc4f6
compiler/rustc_middle/src/thir.rs
@@ -838,6 +838,7 @@ 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
842
/// * `String`, if `string_deref_patterns` is enabled.
843
Constant {
844
value: mir::Const<'tcx>,
0 commit comments