Skip to content

Commit

Permalink
crate_types now lives in GlobalCtxt instead of Session
Browse files Browse the repository at this point in the history
  • Loading branch information
nbdd0121 committed Aug 12, 2023
1 parent dcea774 commit e4bad83
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/atomic_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ impl<'tcx> LateLintPass<'tcx> for AtomicContext<'tcx> {
// Skip checks for proc-macro crates.
if self
.cx
.sess
.crate_types()
.contains(&rustc_session::config::CrateType::ProcMacro)
{
Expand Down

0 comments on commit e4bad83

Please sign in to comment.