From 94de92ddc71cb517a4d81f2b851b2871a1fc7fba Mon Sep 17 00:00:00 2001 From: Ellen Date: Sat, 12 Jun 2021 16:35:18 +0100 Subject: [PATCH] add `@has` --- src/test/rustdoc/const-generics/const-evaluatable-checked.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/rustdoc/const-generics/const-evaluatable-checked.rs b/src/test/rustdoc/const-generics/const-evaluatable-checked.rs index 0952f94f26804..1c074fdb3f882 100644 --- a/src/test/rustdoc/const-generics/const-evaluatable-checked.rs +++ b/src/test/rustdoc/const-generics/const-evaluatable-checked.rs @@ -2,4 +2,6 @@ #![feature(const_evaluatable_checked, const_generics)] #![allow(incomplete_features)] // make sure that `ConstEvaluatable` predicates dont cause rustdoc to ICE #77647 +// @has foo/struct.Ice.html '//pre[@class="rust struct"]' \ +// 'pub struct Ice where [(); N + 1]: ;' pub struct Ice where [(); N + 1]:;