We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9936179 + be10d56 commit b09b7daCopy full SHA for b09b7da
tests/ui/const-generics/invariant.rs
@@ -5,7 +5,7 @@ use std::marker::PhantomData;
5
trait SadBee {
6
const ASSOC: usize;
7
}
8
-// fn(&'static ())` is a supertype of `for<'a> fn(&'a ())` while
+// `fn(&'static ())` is a supertype of `for<'a> fn(&'a ())` while
9
// we allow two different impls for these types, leading
10
// to different const eval results.
11
impl SadBee for for<'a> fn(&'a ()) {
0 commit comments