mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
auto merge of #5595 : catamorphism/rust/demoding, r=catamorphism
This commit is contained in:
commit
b1c0a6628b
@ -80,7 +80,7 @@ fn breakpoint() {
|
||||
}
|
||||
}
|
||||
|
||||
fn frame_address(f: &fn(++x: *u8)) {
|
||||
fn frame_address(f: &fn(x: *u8)) {
|
||||
unsafe {
|
||||
rusti::frame_address(f)
|
||||
}
|
||||
@ -95,7 +95,7 @@ pub mod rustrt {
|
||||
pub mod rusti {
|
||||
#[abi = "rust-intrinsic"]
|
||||
pub extern {
|
||||
pub fn frame_address(f: &once fn(++x: *u8));
|
||||
pub fn frame_address(f: &once fn(x: *u8));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -61,7 +61,6 @@ pub mod reader {
|
||||
|
||||
use core::int;
|
||||
use core::io;
|
||||
use core::ops;
|
||||
use core::prelude::*;
|
||||
use core::str;
|
||||
use core::vec;
|
||||
|
@ -1281,7 +1281,7 @@ impl ToTcpErr for uv::ll::uv_err_data {
|
||||
|
||||
extern fn on_tcp_read_cb(stream: *uv::ll::uv_stream_t,
|
||||
nread: libc::ssize_t,
|
||||
++buf: uv::ll::uv_buf_t) {
|
||||
buf: uv::ll::uv_buf_t) {
|
||||
unsafe {
|
||||
debug!("entering on_tcp_read_cb stream: %? nread: %?",
|
||||
stream, nread);
|
||||
|
Loading…
Reference in New Issue
Block a user