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
but this is not really what we support in regular Rust (T: Iterator<Item = u32>). There's been talk of adding == syntax to regular Rust (see rust-lang/rust#20041) but it's not supported now. Meanwhile, the syntax we do support is more general, since one can do things like T: Foo<Bar = u32, Baz = i32>.
Also, in regular Rust, we lower T: Foo<Bar = u32> to both T: Foo and <T as Foo>::Bar = u32.
The text was updated successfully, but these errors were encountered:
The rust layer permits things like
but this is not really what we support in regular Rust (
T: Iterator<Item = u32>
). There's been talk of adding==
syntax to regular Rust (see rust-lang/rust#20041) but it's not supported now. Meanwhile, the syntax we do support is more general, since one can do things likeT: Foo<Bar = u32, Baz = i32>
.Also, in regular Rust, we lower
T: Foo<Bar = u32>
to bothT: Foo
and<T as Foo>::Bar = u32
.The text was updated successfully, but these errors were encountered: