mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
ebee3f8515
It's only used in tests. Which is bad, because it means that `FileEncoder` is used in the compiler but isn't used in tests! `tests/opaque.rs` now tests encoding/decoding round-trips via file. Because this is slower than memory, this commit also adjusts the `u16`/`i16` tests so they are more like the `u32`/`i32` tests, i.e. they don't test every possible value. |
||
---|---|---|
.. | ||
leb128.rs | ||
opaque.rs |