diff options
| author | Ellen <supbscripter@gmail.com> | 2021-08-25 10:21:39 +0100 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2021-08-30 11:00:21 +0200 |
| commit | 0b526fd7fb58ae20deada3fad050196cd838ee47 (patch) | |
| tree | 5527cd3ee1db9a2ce8946497845da34d7a322fd6 | |
| parent | c8262ade904889a854ec233048b5046c4070f164 (diff) | |
| download | rust-0b526fd7fb58ae20deada3fad050196cd838ee47.tar.gz rust-0b526fd7fb58ae20deada3fad050196cd838ee47.zip | |
rename const_evaluatable_checked to generic_const_exprs
:sparkles:
| -rw-r--r-- | tests/ui/doc/doc.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/doc/doc.rs b/tests/ui/doc/doc.rs index 8afef6b23d4..8b20997fdf8 100644 --- a/tests/ui/doc/doc.rs +++ b/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()], |
