2021-06-12 03:56:25 -05:00
|
|
|
#![crate_name = "foo"]
|
2021-08-27 11:04:57 -05:00
|
|
|
#![feature(generic_const_exprs)]
|
2021-06-12 03:56:25 -05:00
|
|
|
#![allow(incomplete_features)]
|
|
|
|
// make sure that `ConstEvaluatable` predicates dont cause rustdoc to ICE #77647
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has foo/struct.Ice.html '//pre[@class="rust item-decl"]' \
|
2024-02-15 13:41:20 -06:00
|
|
|
// 'pub struct Ice<const N: usize> where [(); { _ }]:;'
|
2021-06-12 04:18:51 -05:00
|
|
|
pub struct Ice<const N: usize> where [(); N + 1]:;
|