We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bf4fbfb + c4e4156 commit 74a6338Copy full SHA for 74a6338
1 file changed
compiler/rustc_resolve/src/imports.rs
@@ -146,7 +146,7 @@ impl<'ra> std::fmt::Debug for ImportKind<'ra> {
146
147
#[derive(Debug, Clone, Default)]
148
pub(crate) struct OnUnknownData {
149
- directive: Directive,
+ directive: Box<Directive>,
150
}
151
152
impl OnUnknownData {
@@ -161,7 +161,7 @@ impl OnUnknownData {
161
Some(tcx.features()),
162
)
163
{
164
- Some(Self { directive: *directive? })
+ Some(Self { directive: Box::new(*directive?) })
165
} else {
166
None
167
0 commit comments