6f5853f5a1
- Move io, run and rand to core. - Remove incorrect ctypes module (use libc). - Remove os-specific modules for os and fs. - Split fs between core::path and core::os.
6 lines
114 B
Rust
6 lines
114 B
Rust
// error-pattern:unsupported cast
|
|
|
|
fn main() {
|
|
log(debug, 1.0 as *libc::FILE); // Can't cast float to native.
|
|
}
|