mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 05:51:58 +00:00
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:
parent
206ee1eea3
commit
ea0f6396aa
@ -2677,7 +2677,6 @@ impl<'a> State<'a> {
|
||||
s.print_type_bounds(":", ¶m.bounds);
|
||||
if let Some(ref _default) = default {
|
||||
// FIXME(const_generics_defaults): print the `default` value here
|
||||
todo!();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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!();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -619,7 +619,6 @@ impl<'hir> Sig for hir::Generics<'hir> {
|
||||
param_text.push_str(&ty_to_string(&ty));
|
||||
if let Some(ref _default) = default {
|
||||
// FIXME(const_generics_defaults): push the `default` value here
|
||||
todo!();
|
||||
}
|
||||
}
|
||||
if !param.bounds.is_empty() {
|
||||
|
Loading…
Reference in New Issue
Block a user