diff options
| author | Santiago Pastorino <spastorino@gmail.com> | 2021-10-22 10:58:38 -0300 |
|---|---|---|
| committer | Santiago Pastorino <spastorino@gmail.com> | 2021-10-22 10:58:38 -0300 |
| commit | 2e9fb8b68ba1d26ee7829d5852f4a87ed5e00ede (patch) | |
| tree | 0e03f664be4ad9fbfcc365731f205361b88d296b | |
| parent | b03a0df737665a61de40e4eaf96e2a6f5887d326 (diff) | |
| download | rust-2e9fb8b68ba1d26ee7829d5852f4a87ed5e00ede.tar.gz rust-2e9fb8b68ba1d26ee7829d5852f4a87ed5e00ede.zip | |
Fix filter_impls comment
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/select/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/select/mod.rs b/compiler/rustc_trait_selection/src/traits/select/mod.rs index 8a185c2e4a3..43ffa285b8f 100644 --- a/compiler/rustc_trait_selection/src/traits/select/mod.rs +++ b/compiler/rustc_trait_selection/src/traits/select/mod.rs @@ -1117,8 +1117,8 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> { (result, dep_node) } - /// filter_impls filters candidates that have a positive impl for a negative goal and a - /// negative impl for a positive goal + /// filter_impls filters constant trait obligations and candidates that have a positive impl + /// for a negative goal and a negative impl for a positive goal #[instrument(level = "debug", skip(self))] fn filter_impls( &mut self, |
