Skip to content

Commit

Permalink
Unrolled build for rust-lang#130054
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#130054 - cuishuang:master, r=chenyukang

Add missing quotation marks
  • Loading branch information
rust-timer authored Sep 7, 2024
2 parents 7468b69 + be10d56 commit d19ad93
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 d19ad93

Please sign in to comment.