]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-58712.rs
Enable full revision in const generics ui tests
[rust.git] / src / test / ui / issues / issue-58712.rs
1 struct AddrVec<H, A> {
2     h: H,
3     a: A,
4 }
5
6 impl<H> AddrVec<H, DeviceId> {
7     //~^ ERROR cannot find type `DeviceId` in this scope
8     pub fn device(&self) -> DeviceId {
9     //~^ ERROR cannot find type `DeviceId` in this scope
10         self.tail()
11     }
12 }
13
14 fn main() {}