]> git.proxmox.com Git - rustc.git/blame - src/test/ui/proc-macro/signature.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / proc-macro / signature.stderr
CommitLineData
ff7c6d11 1error[E0308]: mismatched types
0731742a 2 --> $DIR/signature.rs:10:1
ff7c6d11 3 |
0531ce1d 4LL | / pub unsafe extern fn foo(a: i32, b: u32) -> u32 {
532ac7d7 5LL | |
0531ce1d
XL
6LL | | loop {}
7LL | | }
ff7c6d11
XL
8 | |_^ expected normal fn, found unsafe fn
9 |
60c5eb7d
XL
10 = note: expected fn pointer `fn(proc_macro::TokenStream) -> proc_macro::TokenStream`
11 found fn item `unsafe extern "C" fn(i32, u32) -> u32 {foo}`
ff7c6d11
XL
12
13error: aborting due to previous error
14
0531ce1d 15For more information about this error, try `rustc --explain E0308`.