Skip to content

Commit

Permalink
Apply suggestion from Centril
Browse files Browse the repository at this point in the history
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
  • Loading branch information
JohnTitor and Centril committed Dec 23, 2019
1 parent 1f2fa93 commit d918319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/ui/const-generics/issues/issue-61747.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ impl<const C: usize> Const<{C}> {
}

fn main() {
Const::<1>::successor();
let _x: Const::<2> = Const::<1>::successor();
}

0 comments on commit d918319

Please sign in to comment.