]> git.proxmox.com Git - rustc.git/blame - tests/ui/proc-macro/signature.stderr
New upstream version 1.76.0+dfsg1
[rustc.git] / tests / ui / proc-macro / signature.stderr
CommitLineData
353b0b11 1error: derive proc macro has incorrect signature
0731742a 2 --> $DIR/signature.rs:10:1
ff7c6d11 3 |
9ffffee4 4LL | pub unsafe extern "C" fn foo(a: i32, b: u32) -> u32 {
353b0b11 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected normal fn, found unsafe fn
9ffffee4 6 |
353b0b11
FG
7 = note: expected signature `fn(proc_macro::TokenStream) -> proc_macro::TokenStream`
8 found signature `unsafe extern "C" fn(i32, u32) -> u32`
ff7c6d11 9
4b012472 10error: aborting due to 1 previous error
ff7c6d11 11