Skip to content

Commit c3e7788

Browse files
committed
Revert accidental change to liblibc.
This reverts commit a66892b.
1 parent a66892b commit c3e7788

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/liblibc

src/librustc_trans/trans/expr.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,7 @@ pub fn trans_into<'blk, 'tcx>(bcx: Block<'blk, 'tcx>,
153153
// If we see a const here, that's because it evaluates to a type with zero size. We
154154
// should be able to just discard it, since const expressions are guaranteed not to
155155
// have side effects. This seems to be reached through tuple struct constructors being
156-
// passed repeat array constructors with zero-size constants as the expression to be
157-
// repeated.
156+
// passed zero-size constants.
158157
if let hir::ExprPath(..) = expr.node {
159158
match bcx.def(expr.id) {
160159
Def::Const(_) | Def::AssociatedConst(_) => {

0 commit comments

Comments
 (0)