Skip to content

Commit 57a6b7b

Browse files
rkuhnvarkor
andauthored
Update src/librustc_trait_selection/traits/error_reporting/suggestions.rs
Co-Authored-By: varkor <[email protected]>
1 parent 2275b87 commit 57a6b7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_trait_selection/traits/error_reporting/suggestions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use std::fmt;
2222
use super::InferCtxtPrivExt;
2323
use crate::traits::query::evaluate_obligation::InferCtxtExt as _;
2424

25-
// public for clippy
25+
// This trait is public to expose the diagnostics methods to clippy.
2626
pub trait InferCtxtExt<'tcx> {
2727
fn suggest_restricting_param_bound(
2828
&self,

0 commit comments

Comments
 (0)