diff options
| author | Rémy Rakic <remy.rakic+github@gmail.com> | 2021-01-01 22:35:56 +0100 |
|---|---|---|
| committer | Rémy Rakic <remy.rakic+github@gmail.com> | 2021-01-01 22:35:56 +0100 |
| commit | ea0f6396aa25cadb84bfa37b098b1fb6916bc38f (patch) | |
| tree | daff838f7384a49dfb781b84f8f036cef276d243 /compiler/rustc_save_analysis/src | |
| parent | 206ee1eea3467fd1d7f1efdbeafe27880897bb2c (diff) | |
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.
Diffstat (limited to 'compiler/rustc_save_analysis/src')
| -rw-r--r-- | compiler/rustc_save_analysis/src/sig.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_save_analysis/src/sig.rs b/compiler/rustc_save_analysis/src/sig.rs index e7d1c9d3bbe..ab3da270fe6 100644 --- a/compiler/rustc_save_analysis/src/sig.rs +++ b/compiler/rustc_save_analysis/src/sig.rs @@ -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() { |
