forked from M-Labs/nac3
1
0
Fork 0

fix compilation warning

This commit is contained in:
Sebastien Bourdeauducq 2022-03-17 21:23:38 +08:00
parent 9ccdc0180d
commit 0ca2797428
2 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ pub fn get_builtins(primitives: &mut (PrimitiveStore, Unifier)) -> BuiltinInfo {
("__param2__".into(), int64, true), ("__param2__".into(), int64, true),
]; ];
let mut top_level_def_list = vec![ let top_level_def_list = vec![
Arc::new(RwLock::new(TopLevelComposer::make_top_level_class_def( Arc::new(RwLock::new(TopLevelComposer::make_top_level_class_def(
0, 0,
None, None,

View File

@ -76,7 +76,7 @@ impl SymbolResolver for Resolver {
} }
} }
fn get_exception_id(&self, tyid: usize) -> usize { fn get_exception_id(&self, _: usize) -> usize {
unimplemented!() unimplemented!()
} }
} }