37c569627c
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.
20 lines
548 B
TOML
20 lines
548 B
TOML
[package]
|
|
authors = ["The Rust Project Developers"]
|
|
name = "rustc_const_eval"
|
|
version = "0.0.0"
|
|
|
|
[lib]
|
|
name = "rustc_const_eval"
|
|
path = "lib.rs"
|
|
crate-type = ["dylib"]
|
|
|
|
[dependencies]
|
|
log = { path = "../liblog" }
|
|
serialize = { path = "../libserialize" }
|
|
rustc = { path = "../librustc" }
|
|
rustc_back = { path = "../librustc_back" }
|
|
rustc_const_math = { path = "../librustc_const_math" }
|
|
rustc_errors = { path = "../librustc_errors" }
|
|
syntax = { path = "../libsyntax" }
|
|
graphviz = { path = "../libgraphviz" }
|
|
syntax_pos = { path = "../libsyntax_pos" } |