Skip to content

Commit d918319

Browse files
JohnTitorCentril
andcommitted
Apply suggestion from Centril
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
1 parent 1f2fa93 commit d918319

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/ui/const-generics/issues/issue-61747.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ impl<const C: usize> Const<{C}> {
1212
}
1313

1414
fn main() {
15-
Const::<1>::successor();
15+
let _x: Const::<2> = Const::<1>::successor();
1616
}

0 commit comments

Comments
 (0)