On Wednesday, 28 July 2021 at 18:54:12 UTC, Per Nordlöw wrote:
> What about making
>
> ```d
> @safe struct S {
> void f() @safe {}
> }
> ```
>
> warn or deprecate as
>
> ```
> Warning: redundant function attribute `@safe`
> ```
>
> ?
No, think about if `f` is generated from a string or template
mixin.