1
Fork 0
rust/compiler/rustc_mir_build/src
bors 7611fe438d Auto merge of #88039 - sexxi-goose:fix-87987, r=nikomatsakis
RFC2229 Only compute place if upvars can be resolved

Closes https://github.com/rust-lang/rust/issues/87987

This PR fixes an ICE when trying to unwrap an Err. This error appears when trying to convert a PlaceBuilder into Place when upvars can't yet be resolved. We should only try to convert a PlaceBuilder into Place if upvars can be resolved.

r? `@nikomatsakis`
2021-08-20 02:19:58 +00:00
..
build Auto merge of #88039 - sexxi-goose:fix-87987, r=nikomatsakis 2021-08-20 02:19:58 +00:00
thir Remove box syntax from rustc_mir_build 2021-08-18 09:25:26 +02:00
check_unsafety.rs Introduce hir::ExprKind::Let - Take 2 2021-08-15 16:18:26 -03:00
lib.rs Remove box syntax from rustc_mir_build 2021-08-18 09:25:26 +02:00
lints.rs Do not store attrs in FnKind. 2021-03-09 19:09:33 +01:00