We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
MaybeTransmutableQuery<&'l Dfa<...>, C>
1 parent 73420fc commit 29ed8e4Copy full SHA for 29ed8e4
compiler/rustc_transmute/src/maybe_transmutable/mod.rs
@@ -149,22 +149,6 @@ where
149
{
150
/// Answers whether a `Dfa` is transmutable into another `Dfa`.
151
pub(crate) fn answer(self) -> Answer<<C as QueryContext>::Ref> {
152
- MaybeTransmutableQuery {
153
- src: &self.src,
154
- dst: &self.dst,
155
- scope: self.scope,
156
- assume: self.assume,
157
- context: self.context,
158
- }
159
- .answer()
160
161
-}
162
-
163
-impl<'l, C> MaybeTransmutableQuery<&'l Dfa<<C as QueryContext>::Ref>, C>
164
-where
165
- C: QueryContext,
166
-{
167
- pub(crate) fn answer(&mut self) -> Answer<<C as QueryContext>::Ref> {
168
self.answer_memo(&mut Map::default(), self.src.start, self.dst.start)
169
}
170
0 commit comments