]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-37291/main.rs
2 #![allow(unused_imports)]
5 // Regression test for #37291. The problem was that the starting
6 // environment for a specialization check was not including the
7 // where-clauses from the impl when attempting to normalize the impl's
8 // trait-ref, so things like `<C as Foo>::Item` could not resolve,
9 // since the `C: Foo` trait bound was not included in the environment.
13 use lib
::{CV, WrapperB, WrapperC}
;