Skip to content

Commit 176880f

Browse files
committed
---
yaml --- r: 65530 b: refs/heads/master c: 101e387 h: refs/heads/master v: v3
1 parent 2a90003 commit 176880f

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

+820
-1221
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: fc5debd8fdda339e1453dc43368f4bfb15459841
2+
refs/heads/master: 101e3872feed1645dabd37c921b26d5e8c40b5b9
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 18e3db7392d2d0697b7e27d6d986139960144d85
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9

trunk/src/libfuzzer/fuzzer.rc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ pub fn common_exprs() -> ~[@ast::expr] {
7878
fn dse(e: ast::expr_) -> @ast::expr {
7979
@ast::expr {
8080
id: 0,
81+
callee_id: -1,
8182
node: e,
8283
span: codemap::dummy_sp(),
8384
}
@@ -93,9 +94,9 @@ pub fn common_exprs() -> ~[@ast::expr] {
9394
dse(ast::expr_lit(@dsl(ast::lit_nil))),
9495
dse(ast::expr_lit(@dsl(ast::lit_bool(false)))),
9596
dse(ast::expr_lit(@dsl(ast::lit_bool(true)))),
96-
dse(ast::expr_unary(-1, ast::box(ast::m_imm),
97+
dse(ast::expr_unary(ast::box(ast::m_imm),
9798
dse(ast::expr_lit(@dsl(ast::lit_bool(true)))))),
98-
dse(ast::expr_unary(-1, ast::uniq(ast::m_imm),
99+
dse(ast::expr_unary(ast::uniq(ast::m_imm),
99100
dse(ast::expr_lit(@dsl(ast::lit_bool(true))))))
100101
]
101102
}
@@ -127,7 +128,7 @@ pub fn safe_to_use_expr(e: @ast::expr, tm: test_mode) -> bool {
127128
//ast::expr_cast(_, _) { false }
128129

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

132133
_ => { true }
133134
}

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.is_empty() {
181+
if install_prefix == ~"" {
182182
fail!("rustc compiled without CFG_PREFIX environment variable");
183183
}
184184

0 commit comments

Comments
 (0)