mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
14 lines
272 B
Rust
14 lines
272 B
Rust
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() {}
|