rust/src/librustc_errors
Mazdak Farrokhzad 4aa3e27231
Rollup merge of #62131 - Xanewok:clip-some-nits, r=petrochenkov
libsyntax: Fix some Clippy warnings

When I was working on it before a lot of these popped up in the RLS so I figured I'll send a small patch fixing only the (hopefully) uncontroversial ones.

Others that could be also fixed included also [`clippy::print_with_newline`](https://rust-lang.github.io/rust-clippy/master/index.html#print_with_newline) and [`clippy::cast_lossless`](https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless). Should I add them as well?

since most of it touches libsyntax...
r? @petrochenkov
2019-06-27 23:01:09 +02:00
..
annotate_snippet_emitter_writer.rs Fix clippy::redundant_field_names 2019-06-26 13:59:58 +02:00
Cargo.toml Add new diagnostic writer using annotate-snippet library 2019-06-04 18:46:00 +02:00
diagnostic.rs Fix clippy::redundant_field_names 2019-06-26 13:59:58 +02:00
diagnostic_builder.rs Address review comments 2019-06-10 11:47:42 +02:00
emitter.rs Fix clippy::print_with_newline 2019-06-26 14:11:58 +02:00
lib.rs Count all errors for track_errors 2019-06-22 15:36:24 +01:00
lock.rs Make use of ptr::null(_mut) instead of casting zero 2019-06-17 10:52:46 +00:00
registry.rs Remove licenses 2018-12-25 21:08:33 -07:00
snippet.rs librustc_errors: Remove unused annotation style OldSchoolNoteText 2019-05-23 08:01:38 +02:00
styled_buffer.rs librustc_errors => 2018 2019-02-07 03:53:01 +09:00