]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_middle/src/traits/mod.rs
Remove const_in_array_rep_expr
[rust.git] / compiler / rustc_middle / src / traits / mod.rs
index 0a663f793aa753cc8cf84404e2d20f97d12e0708..163b400973b7cd2a0feb05f38c383223a0a02f95 100644 (file)
@@ -228,8 +228,7 @@ pub enum ObligationCauseCode<'tcx> {
     /// Inline asm operand type must be `Sized`.
     InlineAsmSized,
     /// `[T, ..n]` implies that `T` must be `Copy`.
-    /// If `true`, suggest `const_in_array_repeat_expressions` feature flag.
-    RepeatVec(bool),
+    RepeatVec,
 
     /// Types of fields (other than the last, except for packed structs) in a struct must be sized.
     FieldSized {