rust/compiler/rustc_const_eval/src
Matthias Krüger 9d27f2e665
Rollup merge of #98043 - TaKO8Ki:remove-unnecessary-to-string, r=davidtwco
Remove unnecessary `to_string` and `String::new`

73fa217bc1 changed the type of the `suggestion` argument to `impl ToString`. This patch removes unnecessary `to_string` and `String::new`.

cc: `````@davidtwco`````
2022-06-13 21:35:56 +02:00
..
const_eval Add a helper function for checking whether a default function in a trait can be treated as const 2022-05-30 08:52:25 +00:00
interpret Rollup merge of #97960 - RalfJung:offset-from, r=oli-obk 2022-06-13 21:35:55 +02:00
transform remove unnecessary to_string and String::new 2022-06-13 15:48:40 +09:00
util rustc: Panic by default in DefIdTree::parent 2022-05-02 01:56:50 +03:00
lib.rs Try out yeet in the MIR interpreter 2022-06-11 23:08:06 -07:00