Code
I tried this code:
trait A {
type T: Iterator<Item = i32>;
}
trait B {
fn x(_: impl A<T = impl Send>);
}
I expected to see this happen:
error[E0277]: `impl Send` is not an iterator
Instead, this happened:
Code compiles
Version it worked on
It most recently worked on: 1.48.0-beta.8
Version with regression
rust nightly 2020-11-08 (likely not the earliest)
Code
I tried this code:
I expected to see this happen:
Instead, this happened:
Code compiles
Version it worked on
It most recently worked on: 1.48.0-beta.8
Version with regression
rust nightly 2020-11-08 (likely not the earliest)