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 2275b87 commit 57a6b7bCopy full SHA for 57a6b7b
src/librustc_trait_selection/traits/error_reporting/suggestions.rs
@@ -22,7 +22,7 @@ use std::fmt;
22
use super::InferCtxtPrivExt;
23
use crate::traits::query::evaluate_obligation::InferCtxtExt as _;
24
25
-// public for clippy
+// This trait is public to expose the diagnostics methods to clippy.
26
pub trait InferCtxtExt<'tcx> {
27
fn suggest_restricting_param_bound(
28
&self,
0 commit comments