summary refs log tree commit diff
path: root/compiler/rustc_middle/src/query/mod.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-07-23 15:59:32 +0200
committerGitHub <noreply@github.com>2025-07-23 15:59:32 +0200
commit1d0d472d38f39c1c29b39bd986aa363f18a43717 (patch)
tree9c1cf8881c9031005c961406fe0cc46861e5bbb8 /compiler/rustc_middle/src/query/mod.rs
parent6f23c08597d9348506d28305532667025e027773 (diff)
parent551cb9f1f4fa315639033e3db39794e10a14b7f7 (diff)
downloadrust-1d0d472d38f39c1c29b39bd986aa363f18a43717.tar.gz
rust-1d0d472d38f39c1c29b39bd986aa363f18a43717.zip
Rollup merge of #144292 - joshtriplett:mbe-use-concrete-type-for-get-unused-rule, r=petrochenkov
mbe: Use concrete type for `get_unused_rule`

Rather than adding `get_unused_rule` to the `TTMacroExpander` trait, put
it on the concrete `MacroRulesMacroExpander`, and downcast to that type
via `Any` in order to call it.

Suggested-by: Vadim Petrochenkov <vadim.petrochenkov@gmail.com>

r? ```````@petrochenkov```````
Diffstat (limited to 'compiler/rustc_middle/src/query/mod.rs')
0 files changed, 0 insertions, 0 deletions