diff options
| author | lcnr <rust@lcnr.de> | 2023-12-18 07:49:46 +0100 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2023-12-18 08:47:29 +0100 |
| commit | ca718ffd2dc27f3d45a1f0a80ba405bd0bfa8ecb (patch) | |
| tree | 8b3469798c49533eb97810a98569fe0a114b7477 /compiler/rustc_trait_selection/src/solve/inspect/analyse.rs | |
| parent | 321b6565a5f8ebf6f23622fc91ea1191a54f2a38 (diff) | |
| download | rust-ca718ffd2dc27f3d45a1f0a80ba405bd0bfa8ecb.tar.gz rust-ca718ffd2dc27f3d45a1f0a80ba405bd0bfa8ecb.zip | |
track the source of nested goals
Diffstat (limited to 'compiler/rustc_trait_selection/src/solve/inspect/analyse.rs')
| -rw-r--r-- | compiler/rustc_trait_selection/src/solve/inspect/analyse.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/solve/inspect/analyse.rs b/compiler/rustc_trait_selection/src/solve/inspect/analyse.rs index a287582dca7..6db53d6ddc4 100644 --- a/compiler/rustc_trait_selection/src/solve/inspect/analyse.rs +++ b/compiler/rustc_trait_selection/src/solve/inspect/analyse.rs @@ -119,7 +119,7 @@ impl<'a, 'tcx> InspectGoal<'a, 'tcx> { ) { for step in &probe.steps { match step { - &inspect::ProbeStep::AddGoal(goal) => nested_goals.push(goal), + &inspect::ProbeStep::AddGoal(_source, goal) => nested_goals.push(goal), inspect::ProbeStep::NestedProbe(ref probe) => { // Nested probes have to prove goals added in their parent // but do not leak them, so we truncate the added goals |
