about summary refs log tree commit diff
path: root/compiler/rustc_serialize/src
AgeCommit message (Expand)AuthorLines
2022-06-16Move `finish` out of the `Encoder` trait.Nicholas Nethercote-26/+14
2022-06-14Rename rustc_serialize::opaque::Encoder as MemEncoder.Nicholas Nethercote-26/+26
2022-06-10Revert dc08bc51f2c58a0f5f815a07f9bb3d671153b5a1.Nicholas Nethercote-14/+26
2022-06-10Revert b983e42936feab29f6333e9835913afc6b4a394e.Nicholas Nethercote-26/+26
2022-06-08Rename `rustc_serialize::opaque::Encoder` as `MemEncoder`.Nicholas Nethercote-26/+26
2022-06-08Move `finish` out of the `Encoder` trait.Nicholas Nethercote-26/+14
2022-06-08Use delayed error handling for `Encodable` and `Encoder` infallible.Nicholas Nethercote-224/+246
2022-06-08Don't pass in a vector to `Encoder::new`.Nicholas Nethercote-2/+2
2022-06-03Fully stabilize NLLJack Huey-1/+0
2022-06-03Remove emit_unitbjorn3-15/+4
2022-06-03Inline many methods of Encoderbjorn3-178/+59
2022-06-03Remove all names from Encoderbjorn3-60/+33
2022-06-03Remove json support from rustc_serializebjorn3-2517/+0
2022-05-13Cache more queries on disk.Camille GILLOT-16/+9
2022-04-18Remove unused macro rulesest31-1/+0
2022-04-05errors: implement fallback diagnostic translationDavid Wood-0/+14
2022-04-03Replace every Vec in Target(Options) with it's Cow equivalentLoïc BRANSTETT-0/+9
2022-04-03Replace every `String` in Target(Options) with `Cow<'static, str>`Loïc BRANSTETT-0/+7
2022-02-22Delete Decoder::read_unitMark Rousskov-11/+2
2022-02-22Provide copy-free access to raw Decoder bytesMark Rousskov-14/+7
2022-02-22Provide raw &str access from DecoderMark Rousskov-5/+4
2022-02-20Delete Decoder::read_mapMark Rousskov-37/+26
2022-02-20Delete Decoder::read_seqMark Rousskov-54/+44
2022-02-20Delete Decoder::read_enum_variantMark Rousskov-14/+5
2022-02-20Delete Decoder::read_map_elt_valMark Rousskov-11/+3
2022-02-20Delete Decoder::read_map_elt_keyMark Rousskov-11/+3
2022-02-20Delete Decoder::read_optionMark Rousskov-13/+5
2022-02-20Delete Decoder::read_seq_eltMark Rousskov-19/+8
2022-02-20Delete Decoder::read_tuple_argMark Rousskov-12/+1
2022-02-20Delete Decoder::read_tupleMark Rousskov-15/+3
2022-02-20Use count! macro in tuple length computationMark Rousskov-3/+2
2022-02-20Delete Decoder::read_struct_fieldMark Rousskov-8/+0
2022-02-20Delete Decoder::read_structMark Rousskov-8/+0
2022-02-20Delete read_enum_variant_argMark Rousskov-10/+2
2022-02-20Delete read_enum_variant namesMark Rousskov-3/+3
2022-02-20Delete Decoder::read_enumMark Rousskov-21/+8
2022-02-20Remove support for JSON deserialization to RustMark Rousskov-314/+7
2022-02-19Adopt let else in more placesest31-3/+3
2022-02-05Drop json::from_readerMark Rousskov-22/+0
2022-01-31Remove two unnecessary transmutes from opaque Encoder and Decoderbjorn3-4/+3
2022-01-22Address review comments.Nicholas Nethercote-3/+1
2022-01-22Make `Decodable` and `Decoder` infallible.Nicholas Nethercote-307/+272
2022-01-22Rename `Decoder::read_nil` and `read_unit`.Nicholas Nethercote-5/+5
2022-01-15Auto merge of #92604 - nnethercote:optimize-impl_read_unsigned_leb128, r=mich...bors-17/+20
2022-01-07Unpeel the first iteration of the loop in impl_read_unsigned_leb128.Nicholas Nethercote-2/+11
2022-01-07Modify the buffer position directly when reading leb128 values.Nicholas Nethercote-15/+9
2021-12-28Do not use LEB128 for encoding u16 and i16Jakub Beránek-8/+15
2021-12-13Auto merge of #91626 - klensy:json-less-alloc, r=petrochenkovbors-3/+3
2021-12-07don't allocate strings when str is enought for using as keyklensy-3/+3
2021-12-06avoid string validation in rustc_serialize, check a marker byte insteadThe 8472-4/+17