mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 01:05:39 +03:00
08abf8d37fa549ebc67f80d80530f4aa43d716e4
Addresses issue #1393. For now disallow disr. values unless all variants use nullary contractors (i.e. "enum-like"). Disr. values are now encoded in the crate metadata, but only when it will differ from the inferred value based on the order.
This is a compiler and suite of associated libraries and documentation for the Rust programming language. See LICENSE.txt for terms of copyright and redistribution. See http://www.rust-lang.org for more information.
Languages
Rust
96%
Shell
1%
C
0.6%
JavaScript
0.6%
Python
0.4%
Other
1.1%