Skip to content

Commit 57fd562

Browse files
committed
---
yaml --- r: 65531 b: refs/heads/master c: 96f6f29 h: refs/heads/master i: 65529: 2a90003 65527: 778891a v: v3
1 parent 176880f commit 57fd562

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+1235
-805
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 101e3872feed1645dabd37c921b26d5e8c40b5b9
2+
refs/heads/master: 96f6f29477cbe8ce0f779f493b243fc657b6e22e
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 18e3db7392d2d0697b7e27d6d986139960144d85
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9

trunk/src/libfuzzer/fuzzer.rc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ pub fn common_exprs() -> ~[@ast::expr] {
7878
fn dse(e: ast::expr_) -> @ast::expr {
7979
@ast::expr {
8080
id: 0,
81-
callee_id: -1,
8281
node: e,
8382
span: codemap::dummy_sp(),
8483
}
@@ -94,9 +93,9 @@ pub fn common_exprs() -> ~[@ast::expr] {
9493
dse(ast::expr_lit(@dsl(ast::lit_nil))),
9594
dse(ast::expr_lit(@dsl(ast::lit_bool(false)))),
9695
dse(ast::expr_lit(@dsl(ast::lit_bool(true)))),
97-
dse(ast::expr_unary(ast::box(ast::m_imm),
96+
dse(ast::expr_unary(-1, ast::box(ast::m_imm),
9897
dse(ast::expr_lit(@dsl(ast::lit_bool(true)))))),
99-
dse(ast::expr_unary(ast::uniq(ast::m_imm),
98+
dse(ast::expr_unary(-1, ast::uniq(ast::m_imm),
10099
dse(ast::expr_lit(@dsl(ast::lit_bool(true))))))
101100
]
102101
}
@@ -128,7 +127,7 @@ pub fn safe_to_use_expr(e: @ast::expr, tm: test_mode) -> bool {
128127
//ast::expr_cast(_, _) { false }
129128

130129
// https://github.com/mozilla/rust/issues/1458
131-
ast::expr_call(_, _, _) => { false }
130+
ast::expr_call(*) => { false }
132131

133132
_ => { true }
134133
}

trunk/src/librustc/back/rpath.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ pub fn get_absolute_rpath(lib: &Path) -> Path {
178178
pub fn get_install_prefix_rpath(target_triple: &str) -> Path {
179179
let install_prefix = env!("CFG_PREFIX");
180180

181-
if install_prefix == ~"" {
181+
if install_prefix.is_empty() {
182182
fail!("rustc compiled without CFG_PREFIX environment variable");
183183
}
184184

0 commit comments

Comments
 (0)