Skip to content

Commit

Permalink
Update src/librustc_trait_selection/traits/error_reporting/suggestion…
Browse files Browse the repository at this point in the history
…s.rs

Co-Authored-By: varkor <github@varkor.com>
  • Loading branch information
rkuhn and varkor authored Apr 6, 2020
1 parent 2275b87 commit 57a6b7b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use std::fmt;
use super::InferCtxtPrivExt;
use crate::traits::query::evaluate_obligation::InferCtxtExt as _;

// public for clippy
// This trait is public to expose the diagnostics methods to clippy.
pub trait InferCtxtExt<'tcx> {
fn suggest_restricting_param_bound(
&self,
Expand Down

0 comments on commit 57a6b7b

Please sign in to comment.