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
error[E0401]: can't use generic parameters from outer function
|
| fn foo<T>() {
| --- - type parameter from outer function
| |
| try adding a local generic parameter in this method instead
| static_assertions::assert_eq_size!(Rc<T>, Arc<T>);
| ^ use of generic parameter from outer function
The text was updated successfully, but these errors were encountered:
In version 0.3 it was possible to have a
assert_eq_size!()
inside a function, and refer to the type parameters of that function.In version 1.0.0 that is no longer possible:
The text was updated successfully, but these errors were encountered: