mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-14 01:25:54 +00:00
auto merge of #6969 : Blei/rust/no-try, r=bstrie
This commit is contained in:
commit
8f18ea8b72
@ -610,7 +610,7 @@ impl InferCtxt {
|
||||
debug!("probe()");
|
||||
do indent {
|
||||
let snapshot = self.start_snapshot();
|
||||
let r = self.try(f);
|
||||
let r = f();
|
||||
self.rollback_to(&snapshot);
|
||||
r
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user