diff options
| author | Ömer Sinan Ağacan <omeragacan@gmail.com> | 2021-02-28 20:43:34 +0300 |
|---|---|---|
| committer | Ömer Sinan Ağacan <omeragacan@gmail.com> | 2021-02-28 20:43:58 +0300 |
| commit | c4b90dfdc53882e139a2ca18ecc0cbadf56a1e40 (patch) | |
| tree | 2b745ad1ddb8473fe9526cf31591cc5bdc0b5286 | |
| parent | 1b1d85fd4cc6ace45d5ec95cd95ce2ccbe6f2e17 (diff) | |
| download | rust-c4b90dfdc53882e139a2ca18ecc0cbadf56a1e40.tar.gz rust-c4b90dfdc53882e139a2ca18ecc0cbadf56a1e40.zip | |
Remove an old FIXME comment and inline attribute
Apparently #35870 caused a problem in this code (which originally returned an impl trait) and `#[inline]` was added as a workaround, in ade79d76090. The issue is now fixed and the comment and `#[inline]` can now be removed.
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/mod.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/mod.rs b/compiler/rustc_trait_selection/src/traits/mod.rs index 0a81b6e105d..5a8c53a0c4b 100644 --- a/compiler/rustc_trait_selection/src/traits/mod.rs +++ b/compiler/rustc_trait_selection/src/traits/mod.rs @@ -455,7 +455,6 @@ fn subst_and_check_impossible_predicates<'tcx>( /// Given a trait `trait_ref`, iterates the vtable entries /// that come from `trait_ref`, including its supertraits. -#[inline] // FIXME(#35870): avoid closures being unexported due to `impl Trait`. fn vtable_methods<'tcx>( tcx: TyCtxt<'tcx>, trait_ref: ty::PolyTraitRef<'tcx>, |
