feat: glob import (WIP)

This commit is contained in:
Shunsuke Shibayama 2024-08-16 23:08:17 +09:00
parent b5d68e5f1c
commit 06ec103b2e
12 changed files with 116 additions and 12 deletions

View file

@ -82,7 +82,7 @@ impl Context {
let muty = Mutability::from(&sig.inspect().unwrap_or(UBAR)[..]);
let ident = match &sig.pat {
ast::VarPattern::Ident(ident) => ident,
ast::VarPattern::Discard(_) => {
ast::VarPattern::Discard(_) | ast::VarPattern::Glob(_) => {
return Ok(());
}
other => unreachable!("{other}"),