Fix ICE when main is declared in an extern block
This commit is contained in:
@@ -126,7 +126,7 @@ pub struct ResolverOutputs {
|
||||
pub main_def: Option<MainDefinition>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy)]
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
pub struct MainDefinition {
|
||||
pub res: Res<ast::NodeId>,
|
||||
pub is_import: bool,
|
||||
|
||||
Reference in New Issue
Block a user