mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
91535ad026
we don't track them when canonicalizing or when freshening, resulting in instable caching in the old solver, and issues when instantiating query responses in the new one.
12 lines
208 B
Rust
12 lines
208 B
Rust
// From Issue #778
|
|
|
|
enum Clam<T> { A(T) }
|
|
fn main() {
|
|
let c;
|
|
c = Clam::A(c);
|
|
//~^ ERROR overflow evaluating the requirement `Clam<_> <: _`
|
|
match c {
|
|
Clam::A::<isize>(_) => { }
|
|
}
|
|
}
|