Skip to content

Commit

Permalink
Rollup merge of rust-lang#130054 - cuishuang:master, r=chenyukang
Browse files Browse the repository at this point in the history
Add missing quotation marks
  • Loading branch information
compiler-errors authored Sep 7, 2024
2 parents 9936179 + be10d56 commit b09b7da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ui/const-generics/invariant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()) {
Expand Down

0 comments on commit b09b7da

Please sign in to comment.