File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -270,10 +270,10 @@ pub fn from_fn_attrs(
270270 // optimize based on this!
271271 false
272272 } else if codegen_fn_attrs. flags . contains ( CodegenFnAttrFlags :: UNWIND ) {
273- // If a specific #[unwind] attribute is present, use that
273+ // If a specific #[unwind] attribute is present, use that.
274274 true
275275 } else if codegen_fn_attrs. flags . contains ( CodegenFnAttrFlags :: RUSTC_ALLOCATOR_NOUNWIND ) {
276- // Special attribute for allocator functions, which can't unwind
276+ // Special attribute for allocator functions, which can't unwind.
277277 false
278278 } else {
279279 let sig = cx. tcx . normalize_erasing_late_bound_regions ( ty:: ParamEnv :: reveal_all ( ) , & sig) ;
Original file line number Diff line number Diff line change 1212#[ unwind( allowed) ]
1313pub extern fn foo_allowed ( ) { }
1414
15- // "Rust" ABI (`extrn "Rust"` could be removed as all `fn` get it implicitly; we leave it
16- // in for clarity.)
15+ // "Rust"
16+ // (`extern "Rust"` could be removed as all `fn` get it implicitly; we leave it in for clarity.)
1717pub extern "Rust" fn bar ( ) { }
1818#[ unwind( allowed) ]
1919pub extern "Rust" fn bar_allowed ( ) { }
You can’t perform that action at this time.
0 commit comments