Skip to content

Commit 9a8cf3d

Browse files
Comment for not using select_in_new_trait_solver
1 parent 7820d2c commit 9a8cf3d

File tree

1 file changed

+1
-0
lines changed
  • compiler/rustc_trait_selection/src/solve

1 file changed

+1
-0
lines changed

compiler/rustc_trait_selection/src/solve/select.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ use crate::solve::inspect::{self, ProofTreeInferCtxtExt};
1515

1616
#[extension(pub trait InferCtxtSelectExt<'tcx>)]
1717
impl<'tcx> InferCtxt<'tcx> {
18+
/// Do not use this directly. This is called from [`crate::traits::SelectionContext::select`].
1819
fn select_in_new_trait_solver(
1920
&self,
2021
obligation: &TraitObligation<'tcx>,

0 commit comments

Comments
 (0)