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
Trait constraints currently may only be specified in a where clause. This is inconsistent with Rust which also supports it directly in a generics list.
Happy Case
Support trait constraints within a generics list.
fnfoo<T:Bar>(x:T){}// same asfnfoo<T>(x:T)whereT:Bar{}
Project Impact
None
Impact Context
No response
Workaround
None
Workaround Description
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
None
Support Needs
No response
The text was updated successfully, but these errors were encountered:
Problem
Trait constraints currently may only be specified in a
where
clause. This is inconsistent with Rust which also supports it directly in a generics list.Happy Case
Support trait constraints within a generics list.
Project Impact
None
Impact Context
No response
Workaround
None
Workaround Description
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
None
Support Needs
No response
The text was updated successfully, but these errors were encountered: