more clippy fixes: clippy::{iter_cloned_collect, unwarp_or_else_default, option_map_or_none}
This commit is contained in:
@@ -196,7 +196,7 @@ pub(crate) mod rustc {
|
||||
fn from(err: LayoutError<'tcx>) -> Self {
|
||||
match err {
|
||||
LayoutError::Unknown(..) => Self::Unknown,
|
||||
err @ _ => unimplemented!("{:?}", err),
|
||||
err => unimplemented!("{:?}", err),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user