]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_error_codes/src/error_codes/E0730.md
New upstream version 1.51.0+dfsg1
[rustc.git] / compiler / rustc_error_codes / src / error_codes / E0730.md
index 016b3f38aa310598bba2365a47289709238af03a..56d0e6afa183dcc4eeb85fc9b0bcc4da8dd00cd7 100644 (file)
@@ -3,8 +3,6 @@ An array without a fixed length was pattern-matched.
 Erroneous code example:
 
 ```compile_fail,E0730
-#![feature(const_generics)]
-
 fn is_123<const N: usize>(x: [u32; N]) -> bool {
     match x {
         [1, 2, ..] => true, // error: cannot pattern-match on an