rust/compiler/rustc_errors/src
David Wood 73fa217bc1 errors: span_suggestion takes impl ToString
Change `span_suggestion` (and variants) to take `impl ToString` rather
than `String` for the suggested code, as this simplifies the
requirements on the diagnostic derive.

Signed-off-by: David Wood <david.wood@huawei.com>
2022-04-29 02:05:20 +01:00
..
json errors: lazily load fallback fluent bundle 2022-04-13 02:44:59 +01:00
annotate_snippet_emitter_writer.rs errors: lazily load fallback fluent bundle 2022-04-13 02:44:59 +01:00
diagnostic.rs errors: span_suggestion takes impl ToString 2022-04-29 02:05:20 +01:00
diagnostic_builder.rs errors: span_suggestion takes impl ToString 2022-04-29 02:05:20 +01:00
emitter.rs Plumb through rustc_lint_defs::Level as enum rather than string. 2022-04-27 10:04:25 -07:00
json.rs Plumb through rustc_lint_defs::Level as enum rather than string. 2022-04-27 10:04:25 -07:00
lib.rs Add --json unused-externs-silent with original behaviour 2022-04-27 10:04:25 -07:00
lock.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
registry.rs Remove (lots of) dead code 2021-03-27 22:16:33 -04:00
snippet.rs Compute most of Public/Exported access level in rustc_resolve 2022-01-09 21:33:14 +00:00
styled_buffer.rs Spellchecking some comments 2022-03-30 01:39:38 -04:00