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 348d18e commit 5450670Copy full SHA for 5450670
clippy_lints/src/types.rs
@@ -1920,6 +1920,7 @@ enum ImplicitHasherType<'tcx> {
1920
1921
impl<'tcx> ImplicitHasherType<'tcx> {
1922
/// Checks that `ty` is a target type without a BuildHasher.
1923
+ #[allow(clippy::new_ret_no_self)]
1924
fn new<'a>(cx: &LateContext<'a, 'tcx>, hir_ty: &hir::Ty) -> Option<Self> {
1925
if let TyKind::Path(QPath::Resolved(None, ref path)) = hir_ty.node {
1926
let params: Vec<_> = path.segments.last().as_ref()?.args.as_ref()?
0 commit comments