You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So inline and cold are silently accepted and repr(C) only results in a lint.
All of these cases should error. Fixing this after stabilization would be an - although small - backcompat issue.
Blocking stabilization on this for now.
The text was updated successfully, but these errors were encountered:
…ttrs, r=lcnr
passes: prohibit invalid attrs on generic params
Fixesrust-lang#78957.
This PR modifies the `check_attr` pass so that attribute placement on generic parameters is checked for validity.
r? `@lcnr`
results in
So
inline
andcold
are silently accepted andrepr(C)
only results in a lint.All of these cases should error. Fixing this after stabilization would be an - although small - backcompat issue.
Blocking stabilization on this for now.
The text was updated successfully, but these errors were encountered: