From be10d56039a7299ac0110b2fc70ec155f680b97a Mon Sep 17 00:00:00 2001 From: cuishuang Date: Sat, 7 Sep 2024 09:23:28 +0800 Subject: [PATCH] Add missing quotation marks Signed-off-by: cuishuang --- tests/ui/const-generics/invariant.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ui/const-generics/invariant.rs b/tests/ui/const-generics/invariant.rs index ee4ad4e7c4e7b..95a28b61dde3a 100644 --- a/tests/ui/const-generics/invariant.rs +++ b/tests/ui/const-generics/invariant.rs @@ -5,7 +5,7 @@ use std::marker::PhantomData; trait SadBee { const ASSOC: usize; } -// fn(&'static ())` is a supertype of `for<'a> fn(&'a ())` while +// `fn(&'static ())` is a supertype of `for<'a> fn(&'a ())` while // we allow two different impls for these types, leading // to different const eval results. impl SadBee for for<'a> fn(&'a ()) {