blob: 78baba818ad765975758264bfb389eb43ede278c (
plain)
1
2
3
4
5
6
7
8
|
// check-fail
struct Foo<'a> //~ ERROR parameter `'a` is never used [E0392]
{
_a: [u8; std::mem::size_of::<&'a mut u8>()] //~ ERROR generic parameters may not be used in const operations
}
pub fn main() {}
|