rust/src/librustc_trans/mir
Ariel Ben-Yehuda 37c569627c refactor constant evaluation error reporting
Refactor constant evaluation to use a single error reporting function
that reports a type-error-like message.

Also, unify all error codes with the "constant evaluation error" message
to just E0080, and similarly for a few other duplicate codes. The old
situation was a total mess, and now that we have *something* we can
further iterate on the UX.
2016-07-22 14:32:56 +03:00
..
analyze.rs trans: generalize immediate temporaries to all MIR locals. 2016-06-20 23:55:14 +03:00
block.rs trans: generalize immediate temporaries to all MIR locals. 2016-06-20 23:55:14 +03:00
constant.rs refactor constant evaluation error reporting 2016-07-22 14:32:56 +03:00
lvalue.rs trans: generalize immediate temporaries to all MIR locals. 2016-06-20 23:55:14 +03:00
mod.rs Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
operand.rs Handle nested pairs in MIR trans. 2016-07-06 14:41:35 +03:00
rvalue.rs prefer if let to match with None => {} arm in some places 2016-07-03 16:27:02 -07:00
statement.rs trans: generalize immediate temporaries to all MIR locals. 2016-06-20 23:55:14 +03:00