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 authored Dec 22, 2019
1 parent 40bec99 commit e55ed79
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 e55ed79

Please sign in to comment.