Auto merge of #31631 - jonas-schievink:agoraphobia, r=nrc
[breaking-batch] Move more uses of `panictry!` out of libsyntax
This commit is contained in:
@@ -1519,7 +1519,7 @@ mod tests {
|
||||
let crate_ast = parse::parse_crate_from_source_str(
|
||||
"<test>".to_string(),
|
||||
src,
|
||||
Vec::new(), &sess);
|
||||
Vec::new(), &sess).unwrap();
|
||||
// should fail:
|
||||
let mut gated_cfgs = vec![];
|
||||
let ecx = ExtCtxt::new(&sess, vec![], test_ecfg(), &mut gated_cfgs);
|
||||
@@ -1535,7 +1535,7 @@ mod tests {
|
||||
let crate_ast = parse::parse_crate_from_source_str(
|
||||
"<test>".to_string(),
|
||||
src,
|
||||
Vec::new(), &sess);
|
||||
Vec::new(), &sess).unwrap();
|
||||
let mut gated_cfgs = vec![];
|
||||
let ecx = ExtCtxt::new(&sess, vec![], test_ecfg(), &mut gated_cfgs);
|
||||
expand_crate(ecx, vec![], vec![], crate_ast);
|
||||
@@ -1549,7 +1549,7 @@ mod tests {
|
||||
let crate_ast = parse::parse_crate_from_source_str(
|
||||
"<test>".to_string(),
|
||||
src,
|
||||
Vec::new(), &sess);
|
||||
Vec::new(), &sess).unwrap();
|
||||
let mut gated_cfgs = vec![];
|
||||
let ecx = ExtCtxt::new(&sess, vec![], test_ecfg(), &mut gated_cfgs);
|
||||
expand_crate(ecx, vec![], vec![], crate_ast);
|
||||
|
||||
Reference in New Issue
Block a user