2018-02-07 21:35:35 -06:00
|
|
|
error[E0308]: intrinsic has wrong type
|
|
|
|
--> $DIR/E0308.rs:14:5
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | fn size_of<T>(); //~ ERROR E0308
|
2018-02-07 21:35:35 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^ expected (), found usize
|
|
|
|
|
|
|
|
|
= note: expected type `unsafe extern "rust-intrinsic" fn()`
|
|
|
|
found type `unsafe extern "rust-intrinsic" fn() -> usize`
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-02-19 14:40:25 -06:00
|
|
|
If you want more information on this error, try using "rustc --explain E0308"
|