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 f7eceef commit f12583aCopy full SHA for f12583a
compiler/rustc_session/src/lint/builtin.rs
@@ -2208,6 +2208,8 @@ declare_lint! {
2208
/// }
2209
/// ```
2210
///
2211
+ /// {{produces}}
2212
+ ///
2213
/// ### Explanation
2214
2215
/// Previous versions of Rust allowed function pointers and wide raw pointers in patterns.
@@ -2257,6 +2259,8 @@ declare_lint! {
2257
2259
2258
2260
2261
2262
2263
2264
2265
2266
/// Previous versions of Rust accepted constants in patterns, even if those constants's types
0 commit comments