about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/doc/doc.rs
diff options
context:
space:
mode:
authorEllen <supbscripter@gmail.com>2021-08-25 10:21:39 +0100
committerlcnr <rust@lcnr.de>2021-08-30 11:00:21 +0200
commitfcc2badf9b1e6d63c5221d206628ab1aaf3b5bdc (patch)
tree22cb7d48f1b3958d1edd0a15f3f4cba23907f93e /src/tools/clippy/tests/ui/doc/doc.rs
parentdbb0fe9d803f7fa8688b33306266a6b054c2c3f4 (diff)
downloadrust-fcc2badf9b1e6d63c5221d206628ab1aaf3b5bdc.tar.gz
rust-fcc2badf9b1e6d63c5221d206628ab1aaf3b5bdc.zip
rename const_evaluatable_checked to generic_const_exprs
:sparkles:
Diffstat (limited to 'src/tools/clippy/tests/ui/doc/doc.rs')
-rw-r--r--src/tools/clippy/tests/ui/doc/doc.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/clippy/tests/ui/doc/doc.rs b/src/tools/clippy/tests/ui/doc/doc.rs
index 8afef6b23d4..8b20997fdf8 100644
--- a/src/tools/clippy/tests/ui/doc/doc.rs
+++ b/src/tools/clippy/tests/ui/doc/doc.rs
@@ -2,7 +2,7 @@
 
 #![allow(dead_code, incomplete_features)]
 #![warn(clippy::doc_markdown)]
-#![feature(custom_inner_attributes, const_generics, const_evaluatable_checked, const_option)]
+#![feature(custom_inner_attributes, const_generics, generic_const_exprs, const_option)]
 #![rustfmt::skip]
 
 /// The foo_bar function does _nothing_. See also foo::bar. (note the dot there)
@@ -203,7 +203,7 @@ fn issue_2343() {}
 /// __|_ _|__||_|
 fn pulldown_cmark_crash() {}
 
-// issue #7033 - const_evaluatable_checked ICE
+// issue #7033 - generic_const_exprs ICE
 struct S<T, const N: usize>
 where [(); N.checked_next_power_of_two().unwrap()]: {
     arr: [T; N.checked_next_power_of_two().unwrap()],