diff options
| author | Philipp Krones <hello@philkrones.com> | 2025-02-20 15:26:07 +0100 |
|---|---|---|
| committer | Philipp Krones <hello@philkrones.com> | 2025-02-20 15:26:07 +0100 |
| commit | 12025085b94b67d08bfa78c6e15ed39df4655d5e (patch) | |
| tree | 4a19070ffaffd9315fcaa8d754b27ed59b5a045e /clippy_lints/src/utils/internal_lints | |
| parent | 835e6a694b543af769c84a99659505b2418d640e (diff) | |
| parent | d8ecde0e4308c21708e9b3b2a1d07648d68129c2 (diff) | |
Merge remote-tracking branch 'upstream/master' into rustup
Diffstat (limited to 'clippy_lints/src/utils/internal_lints')
| -rw-r--r-- | clippy_lints/src/utils/internal_lints/lint_without_lint_pass.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/utils/internal_lints/lint_without_lint_pass.rs b/clippy_lints/src/utils/internal_lints/lint_without_lint_pass.rs index d6f10f1e4b8..713fd07bd27 100644 --- a/clippy_lints/src/utils/internal_lints/lint_without_lint_pass.rs +++ b/clippy_lints/src/utils/internal_lints/lint_without_lint_pass.rs @@ -278,6 +278,6 @@ impl<'tcx> Visitor<'tcx> for LintCollector<'_, 'tcx> { } fn maybe_tcx(&mut self) -> Self::MaybeTyCtxt { - self.cx.tcx.hir() + self.cx.tcx } } |
