Auto merge of - Dylan-DPC:rollup-879cp1t, r=Dylan-DPC

Rollup of 5 pull requests

Successful merges:

 -  (Lower let-else in MIR)
 -  (`UnsafeCell` blocks niches inside its nested type from being available outside)
 -  (diagnostics: error messages when struct literals fail to parse)
 -  (Keep unstable target features for asm feature checking)
 -  (Refactor: remove an unnecessary `span_to_snippet`)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
This commit is contained in:
bors 2022-07-13 17:13:27 +00:00
commit 43388812a6

@ -167,7 +167,7 @@ impl CodegenBackend for CraneliftCodegenBackend {
}
}
fn target_features(&self, _sess: &Session) -> Vec<rustc_span::Symbol> {
fn target_features(&self, _sess: &Session, _allow_unstable: bool) -> Vec<rustc_span::Symbol> {
vec![]
}