blob: 577709cf2919df905b043f46da93833cf0506600 [file] [log] [blame]
struct AddrVec<H, A> {
h: H,
a: A,
}
impl<H> AddrVec<H, DeviceId> {
//~^ ERROR cannot find type `DeviceId` in this scope
pub fn device(&self) -> DeviceId {
//~^ ERROR cannot find type `DeviceId` in this scope
self.tail()
}
}
fn main() {}