1
Fork 0

Stabilize ops::ControlFlow (just the type)

This commit is contained in:
Scott McMurray 2021-05-23 10:21:25 -07:00
commit 65a0a8b386
8 changed files with 45 additions and 13 deletions

View file

@ -332,7 +332,7 @@ pub fn lower_crate<'a, 'hir>(
lifetimes_to_define: Vec::new(),
is_collecting_in_band_lifetimes: false,
in_scope_lifetimes: Vec::new(),
allow_try_trait: Some([sym::control_flow_enum, sym::try_trait_v2][..].into()),
allow_try_trait: Some([sym::try_trait_v2][..].into()),
allow_gen_future: Some([sym::gen_future][..].into()),
}
.lower_crate(krate)