Diagnostics for redundant qualifiers

Per Nordlöw per.nordlow at gmail.com
Wed Jul 28 18:54:12 UTC 2021


What about making

```d
@safe struct S  {
    void f() @safe {}
}
```

warn or deprecate as

```
Warning: redundant function attribute `@safe`
```

?


More information about the Digitalmars-d mailing list