about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-11-02 11:57:40 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2023-05-31 10:24:17 +0000
commit1570299af4df53aacd6d68cf1b24aee734e9cdcd (patch)
treedc45e59b3e13282a407e36b3986debd5764a9e80
parentaa65395c496083d96206c6f4c331a56382b4c0da (diff)
Remove const eval limit and implement an exponential backoff lint instead
-rw-r--r--crates/hir-def/src/builtin_attr.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/crates/hir-def/src/builtin_attr.rs b/crates/hir-def/src/builtin_attr.rs
index f7c1e683d0d..142b1229019 100644
--- a/crates/hir-def/src/builtin_attr.rs
+++ b/crates/hir-def/src/builtin_attr.rs
@@ -196,10 +196,6 @@ pub const INERT_ATTRIBUTES: &[BuiltinAttribute] = &[
     ungated!(recursion_limit, CrateLevel, template!(NameValueStr: "N"), FutureWarnFollowing),
     ungated!(type_length_limit, CrateLevel, template!(NameValueStr: "N"), FutureWarnFollowing),
     gated!(
-        const_eval_limit, CrateLevel, template!(NameValueStr: "N"), ErrorFollowing,
-        const_eval_limit, experimental!(const_eval_limit)
-    ),
-    gated!(
         move_size_limit, CrateLevel, template!(NameValueStr: "N"), ErrorFollowing,
         large_assignments, experimental!(move_size_limit)
     ),