diff options
| author | Michael Goulet <michael@errs.io> | 2024-02-16 15:07:32 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-02-16 15:07:37 +0000 |
| commit | f624d55ea77b1b24e9294818ee1d6b1da9d0ec2d (patch) | |
| tree | 73c756a8874ee51120d6acf61fc6c32904d26ba9 /compiler/rustc_infer/src | |
| parent | a9dbf63087049549a74c0f31705df92bcf15098f (diff) | |
| download | rust-f624d55ea77b1b24e9294818ee1d6b1da9d0ec2d.tar.gz rust-f624d55ea77b1b24e9294818ee1d6b1da9d0ec2d.zip | |
Nits
Diffstat (limited to 'compiler/rustc_infer/src')
| -rw-r--r-- | compiler/rustc_infer/src/traits/engine.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_infer/src/traits/engine.rs b/compiler/rustc_infer/src/traits/engine.rs index ffd120fa4a4..c495810858f 100644 --- a/compiler/rustc_infer/src/traits/engine.rs +++ b/compiler/rustc_infer/src/traits/engine.rs @@ -64,6 +64,7 @@ impl<'tcx, T: ?Sized + TraitEngine<'tcx>> T { } } + #[must_use] fn select_all_or_error(&mut self, infcx: &InferCtxt<'tcx>) -> Vec<FulfillmentError<'tcx>> { let errors = self.select_where_possible(infcx); if !errors.is_empty() { |
