]> git.proxmox.com Git - rustc.git/blame - src/test/ui/error-codes/E0308.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / error-codes / E0308.stderr
CommitLineData
2c00a5a8 1error[E0308]: intrinsic has wrong type
0731742a 2 --> $DIR/E0308.rs:4:5
2c00a5a8 3 |
532ac7d7 4LL | fn size_of<T>();
60c5eb7d 5 | ^^^^^^^^^^^^^^^^ expected `()`, found `usize`
2c00a5a8 6 |
60c5eb7d
XL
7 = note: expected fn pointer `extern "rust-intrinsic" fn()`
8 found fn pointer `extern "rust-intrinsic" fn() -> usize`
2c00a5a8
XL
9
10error: aborting due to previous error
11
0531ce1d 12For more information about this error, try `rustc --explain E0308`.