Skip to content

Commit 18ce997

Browse files
committed
Fix rebase issue
1 parent 9cfdb80 commit 18ce997

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/librustc_lint/nonstandard_style.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for NonUpperCaseGlobals {
456456
}
457457
}
458458

459-
fn check_generic_param(&mut self, cx: &LateContext, param: &hir::GenericParam) {
459+
fn check_generic_param(&mut self, cx: &LateContext<'_, '_>, param: &hir::GenericParam) {
460460
if let GenericParamKind::Const { .. } = param.kind {
461461
NonUpperCaseGlobals::check_upper_case(
462462
cx,

src/librustc_typeck/check/compare_method.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ fn compare_synthetic_generics<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
842842
GenericParamKind::Lifetime { .. } => None,
843843
GenericParamKind::Type { .. } |
844844
GenericParamKind::Const { .. } => {
845-
if param.hir_id == impl_node_id {
845+
if param.hir_id == impl_hir_id {
846846
Some(&param.bounds)
847847
} else {
848848
None

0 commit comments

Comments
 (0)