diff options
| author | varkor <github@varkor.com> | 2019-05-06 14:16:28 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2019-05-06 14:16:28 +0100 |
| commit | c0454f0638f235dd7c8b4bb57ea5614e5e877746 (patch) | |
| tree | 01e836c80d8781f314d912d062f9d5c97f2864c3 | |
| parent | 670cf11de22583e1192636f0e6c36007ebcbb776 (diff) | |
| download | rust-c0454f0638f235dd7c8b4bb57ea5614e5e877746.tar.gz rust-c0454f0638f235dd7c8b4bb57ea5614e5e877746.zip | |
Remove incorrect FIXME
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
| -rw-r--r-- | src/librustc_typeck/check/mod.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/librustc_typeck/check/mod.rs b/src/librustc_typeck/check/mod.rs index e404a8e6972..82fcf8ff52f 100644 --- a/src/librustc_typeck/check/mod.rs +++ b/src/librustc_typeck/check/mod.rs @@ -5785,8 +5785,6 @@ pub fn check_bounds_are_used<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>, ty ); - // FIXME(const_generics): we probably want to check the bounds for const parameters too. - if own_counts.types == 0 { return; } |
