]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/const-generics/generic_const_exprs.rs
Rollup merge of #100487 - tmiasko:assert-safe, r=petrochenkov
[rust.git] / src / test / 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 struct"]' \
6 //      'pub struct Ice<const N: usize>;'
7 pub struct Ice<const N: usize> where [(); N + 1]:;