summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/item-error.rs
blob: 64c203e54807143e54cbd211a707c16277876587 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// aux-build:derive-b.rs

#![allow(warnings)]

#[macro_use]
extern crate derive_b;

#[derive(B)]
struct A {
    a: &u64
//~^ ERROR: missing lifetime specifier
}

fn main() {
}