2021-06-12 09:56:25 +01:00
|
|
|
#![crate_name = "foo"]
|
2021-08-25 10:21:39 +01:00
|
|
|
#![feature(generic_const_exprs, const_generics)]
|
2021-06-12 09:56:25 +01:00
|
|
|
#![allow(incomplete_features)]
|
|
|
|
// make sure that `ConstEvaluatable` predicates dont cause rustdoc to ICE #77647
|
2021-06-12 16:35:18 +01:00
|
|
|
// @has foo/struct.Ice.html '//pre[@class="rust struct"]' \
|
|
|
|
// 'pub struct Ice<const N: usize> where [(); N + 1]: ;'
|
2021-06-12 10:18:51 +01:00
|
|
|
pub struct Ice<const N: usize> where [(); N + 1]:;
|