rust/compiler/rustc_serialize/src
Nicholas Nethercote ebee3f8515 Remove MemEncoder.
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.
2023-05-02 12:02:32 +10:00
..
collection_impls.rs Replace rustc_data_structures::thin_vec::ThinVec with thin_vec::ThinVec. 2022-08-29 15:42:13 +10:00
leb128.rs Rewrite MemDecoder around pointers not a slice 2023-04-23 17:25:11 -04:00
lib.rs Rewrite MemDecoder around pointers not a slice 2023-04-23 17:25:11 -04:00
opaque.rs Remove MemEncoder. 2023-05-02 12:02:32 +10:00
serialize.rs Add some provided methods to Encoder/Decoder. 2023-04-28 18:34:54 +10:00