about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/passes.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-08-09 23:27:55 +0000
committerbors <bors@rust-lang.org>2025-08-09 23:27:55 +0000
commit41ede7bd9bfbc9dc1e46c5c7de3b26524e5c61f0 (patch)
treea651adb8679dac8d84d44010df89c85ad15f5169 /compiler/rustc_interface/src/passes.rs
parentca77504943887037504c7fc0b9bf06dab3910373 (diff)
parentad1113f87ef828b300ebb8fca397efd358580da3 (diff)
downloadrust-41ede7bd9bfbc9dc1e46c5c7de3b26524e5c61f0.tar.gz
rust-41ede7bd9bfbc9dc1e46c5c7de3b26524e5c61f0.zip
Auto merge of #145146 - fee1-dead-contrib:push-zmqrkurlzrxy, r=nnethercote
remove `P`

Previous work: rust-lang/rust#141603
MCP: https://github.com/rust-lang/compiler-team/issues/878

cc `@nnethercote`
Diffstat (limited to 'compiler/rustc_interface/src/passes.rs')
-rw-r--r--compiler/rustc_interface/src/passes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs
index 8bbd0e61492..3ba224723e3 100644
--- a/compiler/rustc_interface/src/passes.rs
+++ b/compiler/rustc_interface/src/passes.rs
@@ -108,7 +108,7 @@ impl LintStoreExpand for LintStoreExpandImpl<'_> {
         registered_tools: &RegisteredTools,
         node_id: ast::NodeId,
         attrs: &[ast::Attribute],
-        items: &[rustc_ast::ptr::P<ast::Item>],
+        items: &[Box<ast::Item>],
         name: Symbol,
     ) {
         pre_expansion_lint(sess, features, self.0, registered_tools, (node_id, attrs, items), name);