1
Fork 0

const_generics_defaults: don't use todo

So that at least it won't ICE for users whether or not they enable the gate. For developers the FIXMEs are enough.
This commit is contained in:
Rémy Rakic 2021-01-01 22:35:56 +01:00
parent 206ee1eea3
commit ea0f6396aa
3 changed files with 0 additions and 3 deletions

View file

@ -2210,7 +2210,6 @@ impl<'a> State<'a> {
self.print_type(ty);
if let Some(ref _default) = default {
// FIXME(const_generics_defaults): print the `default` value here
todo!();
}
}
}