]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/const-generics/generic_const_exprs.rs
Rollup merge of #107312 - calebcartwright:style-let-else, r=joshtriplett
[rust.git] / tests / rustdoc / const-generics / generic_const_exprs.rs
1 #![crate_name = "foo"]
2 #![feature(generic_const_exprs)]
3 #![allow(incomplete_features)]
4 // make sure that `ConstEvaluatable` predicates dont cause rustdoc to ICE #77647
5 // @has foo/struct.Ice.html '//pre[@class="rust item-decl"]' \
6 //      'pub struct Ice<const N: usize>;'
7 pub struct Ice<const N: usize> where [(); N + 1]:;