summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/const-generics/generic_const_exprs.rs
blob: c53cf6dcd0570b4f0717ca79062cb2f35333ee74 (plain)
1
2
3
4
5
6
7
#![crate_name = "foo"]
#![feature(generic_const_exprs)]
#![allow(incomplete_features)]
// make sure that `ConstEvaluatable` predicates dont cause rustdoc to ICE #77647
// @has foo/struct.Ice.html '//div[@class="item-decl"]/pre[@class="rust"]' \
//      'pub struct Ice<const N: usize>;'
pub struct Ice<const N: usize> where [(); N + 1]:;