Like #8794, applying `#[fixed_stack_segment]` to methods does not produce IR functions containing the `fixed_stack_segment` attribute.