rust/src/librustc_errors
Matthias Krüger 9bba047c2e Use if let instead of match when only matching a single variant (clippy::single_match)
Makes code more compact and reduces nestig.
2020-03-30 10:52:29 +02:00
..
json Rename syntax_pos to rustc_span in source code 2020-01-01 09:15:18 +03:00
annotate_snippet_emitter_writer.rs rustc_errors: hide "in this macro invocation" when redundant, more explicitly. 2020-02-06 21:32:07 +02:00
Cargo.toml Use termize instead of term_size 2020-01-29 01:13:48 +01:00
diagnostic_builder.rs remove redundant closures (clippy::redundant_closure) 2020-03-22 12:43:19 +01:00
diagnostic.rs use .to_string() instead of format!() macro to create strings 2020-02-29 01:32:42 +01:00
emitter.rs Use if let instead of match when only matching a single variant (clippy::single_match) 2020-03-30 10:52:29 +02:00
json.rs rustc_errors: Use ensure_source_file_source_present where necessary. 2020-03-10 07:26:27 +01:00
lib.rs rustc -> rustc_middle part 1 2020-03-30 07:02:56 +02:00
lock.rs use winapi for non-stdlib Windows bindings 2020-01-11 20:56:46 -05:00
registry.rs Use single-char patter on {ends,starts}_with and remove clone on copy type. 2020-03-04 20:47:05 +01:00
snippet.rs use is_empty() instead of len() == x to determine if structs are empty. 2020-02-28 15:16:27 +01:00
styled_buffer.rs Format the world 2019-12-22 17:42:47 -05:00