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
NamedValues::get has a subtle footgun: The given reference to a NamedField must be pointer-equal to a NamedField in NamedValues. But, because NamedField is Copy/Clone, it's trivial to construct programs that subtly violate this requirement; e.g., this program panics:
NamedValues::get
has a subtle footgun: The given reference to aNamedField
must be pointer-equal to aNamedField
inNamedValues
. But, becauseNamedField
isCopy
/Clone
, it's trivial to construct programs that subtly violate this requirement; e.g., this program panics:...but this program is fine:
The text was updated successfully, but these errors were encountered: