We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e129923 commit 2275b87Copy full SHA for 2275b87
src/librustc_trait_selection/traits/error_reporting/suggestions.rs
@@ -22,7 +22,8 @@ use std::fmt;
22
use super::InferCtxtPrivExt;
23
use crate::traits::query::evaluate_obligation::InferCtxtExt as _;
24
25
-crate trait InferCtxtExt<'tcx> {
+// public for clippy
26
+pub trait InferCtxtExt<'tcx> {
27
fn suggest_restricting_param_bound(
28
&self,
29
err: &mut DiagnosticBuilder<'_>,
0 commit comments