Josias
|
b81141cfb9
|
Add lint print_stderr
Resolves #6348
Almost identical to print_stdout, this lint applies to the
`eprintln!` and `eprint!` macros rather than `println!` and
`print!`.
|
2020-12-07 23:38:56 +01:00 |
|
Cameron Steffen
|
22cc77a232
|
Use const rustc sym where possible
|
2020-11-02 11:46:37 -06:00 |
|
Takayuki Nakata
|
83294f894d
|
Some small fixes
|
2020-09-26 23:10:25 +09:00 |
|
Takayuki Nakata
|
5b484b4057
|
Fix the detection of build scripts
|
2020-09-25 23:32:18 +09:00 |
|
Takayuki Nakata
|
2892a2b0f5
|
Fix FP in print_stdout
This lint shouldn't be emitted in `build.rs` as `println!` and `print!` are used for the build script.
|
2020-09-24 23:22:54 +09:00 |
|
Andy Russell
|
0261e341fd
|
{print,write}-with-newline: do not suggest empty format string
|
2020-09-16 11:25:53 -04:00 |
|
rail
|
edc05da57d
|
Fix the wrong use of snippet_with_applicability
This includes a workaround of the issue #5822,
the cause of this little mistake.
|
2020-08-27 10:24:16 +12:00 |
|
Matthias Krüger
|
8a96b9cdfe
|
write.rs: don't clone TokenStream
|
2020-08-12 14:35:31 +02:00 |
|
JarredAllen
|
6ce981225b
|
Clean existing lint code to match new lint
|
2020-07-03 16:51:44 -07:00 |
|
JarredAllen
|
5150277a4f
|
Used clippy to clean itself
|
2020-07-03 16:50:45 -07:00 |
|
flip1995
|
1a8a69d012
|
Merge remote-tracking branch 'upstream/master' into rustup
|
2020-06-07 02:17:49 +02:00 |
|
bors
|
b059c0a2e6
|
Auto merge of #72927 - petrochenkov:rustc, r=Mark-Simulacrum
Rename all remaining compiler crates to use the `rustc_foo` pattern
libarena -> librustc_arena
libfmt_macros -> librustc_parse_format
libgraphviz -> librustc_graphviz
libserialize -> librustc_serialize
Closes https://github.com/rust-lang/rust/issues/71177 in particular.
|
2020-06-06 09:00:51 +00:00 |
|
Mark Rousskov
|
0c470b3339
|
Bump to 1.46
|
2020-06-03 15:27:51 -04:00 |
|
Vadim Petrochenkov
|
2b79413491
|
Rename the crates in source code
|
2020-06-02 20:42:54 +03:00 |
|
ThibsG
|
9893254dff
|
Add more corrected code for doc
|
2020-06-01 10:39:52 +02:00 |
|
flip1995
|
37381d33a4
|
Fix sync fallout
|
2020-05-31 14:05:57 +02:00 |
|
Amanieu d'Antras
|
d25b25610b
|
Handle InlineAsm in clippy
|
2020-05-18 14:41:33 +01:00 |
|
Julian Wollersberger
|
ff9a9ed37c
|
Replace some usages of the old unescape_ functions in AST, clippy and tests.
|
2020-05-13 10:05:04 +02:00 |
|
Matthias Krüger
|
b8effecee1
|
rustup https://github.com/rust-lang/rust/pull/69838
|
2020-03-17 10:18:22 +01:00 |
|
Matthias Krüger
|
4d8ed5a842
|
rustup https://github.com/rust-lang/rust/pull/69589/
|
2020-03-15 18:23:43 +01:00 |
|
flip1995
|
a628733ade
|
Don't lint debug formatting in debug impl
|
2020-03-03 10:48:08 +01:00 |
|
Yuki Okushi
|
78dc48ea50
|
Rustup to rust-lang/rust#69579
|
2020-03-01 23:32:49 +09:00 |
|
Yuki Okushi
|
4253aa7137
|
Rustup to rust-lang/rust#69592
|
2020-03-01 12:23:33 +09:00 |
|
flip1995
|
8472ecda0f
|
Fix fallout
|
2020-02-21 11:14:18 +01:00 |
|
Yuki Okushi
|
ce1c6b285d
|
Rustup to rust-lang/rust#68045
|
2020-01-13 21:55:57 +09:00 |
|
Yuki Okushi
|
39947992b5
|
Rustup to rust-lang/rust#67806
|
2020-01-11 21:50:00 +09:00 |
|
Philipp Hansch
|
c5178e82b4
|
Rustup to https://github.com/rust-lang/rust/pull/67853
Specifically caused by https://github.com/rust-lang/rust/pull/67786
|
2020-01-04 11:30:03 +01:00 |
|
Yuki Okushi
|
9086b17e14
|
Rustup to rust-lang/rust#67707
|
2019-12-31 09:17:56 +09:00 |
|
Lzu Tao
|
652666b288
|
rustup "Add span information to ExprKind::Assign "
|
2019-12-24 11:25:24 +07:00 |
|
Matthias Krüger
|
98e433d70d
|
Rustup to rust-lang/rust#66878
|
2019-12-04 01:34:01 +01:00 |
|
flip1995
|
f6a75f17f6
|
Rustup to rust-lang/rust#66935
|
2019-12-03 18:37:06 +01:00 |
|
Manish Goregaokar
|
aa5a95f00c
|
Rustup to rustc 1.41.0-nightly (a0d40f8bd 2019-11-18)
|
2019-11-18 23:49:58 -08:00 |
|
Andy Russell
|
add766493a
|
don't warn on CRLF in with_newline lints
|
2019-11-12 08:50:22 -05:00 |
|
Michael Wright
|
c1fd75005e
|
Fix breakage due to rust-lang/rust#65324
|
2019-11-11 06:22:50 +02:00 |
|
Manish Goregaokar
|
3ef852b74c
|
Rustup to rustc 1.40.0-nightly (ac162c6ab 2019-11-09)
|
2019-11-09 17:04:42 -08:00 |
|
Lzu Tao
|
acbe224f6a
|
rustup https://github.com/rust-lang/rust/pull/65916
|
2019-11-08 10:23:42 +07:00 |
|
flip1995
|
4bbd10a585
|
Rustup to rust-lang/rust#64813
|
2019-09-27 17:21:20 +02:00 |
|
Michael Wright
|
232dd43fe9
|
Fix occurrences of too_many_lines violations
|
2019-09-03 06:26:49 +02:00 |
|
Lzu Tao
|
65b906a8fc
|
Rustup "Remove Spanned from {ast,hir}::FieldPat "
|
2019-08-16 09:32:27 +07:00 |
|
Vallentin
|
b7460ad70b
|
Fixed repeated word
|
2019-08-11 12:56:30 +02:00 |
|
Philipp Hansch
|
b608e02e1c
|
Doctests: Enable running doc tests for restriction lints
|
2019-08-03 21:24:50 +02:00 |
|
Philipp Hansch
|
d61df4f609
|
Rustup to latest rustc master
Broken due to:
* https://github.com/rust-lang/rust/pull/63180 (`Existential` -> `OpaqueTy`)
* https://github.com/rust-lang/rust/pull/63121 (New fields for `FormatSpec`)
|
2019-08-03 08:44:32 +02:00 |
|
Matthias Krüger
|
7c91fb8ded
|
rustup https://github.com/rust-lang/rust/pull/61758/files
|
2019-06-12 10:28:58 +02:00 |
|
Andy Russell
|
2d0c797da6
|
add suggestions for print/write with newline lint
|
2019-05-30 13:46:04 -04:00 |
|
Philipp Hansch
|
a650659d63
|
Rustup to https://github.com/rust-lang/rust/pull/61026
|
2019-05-25 09:45:07 +02:00 |
|
Philipp Hansch
|
a316179850
|
Rustup to https://github.com/rust-lang/rust/pull/60965
|
2019-05-23 20:19:00 +02:00 |
|
Oliver Scherer
|
f7f85a0dca
|
Prevent symbocalypse
|
2019-05-17 23:53:54 +02:00 |
|
Oliver Scherer
|
b2dbda4d48
|
Use symbols instead of strings
|
2019-05-14 10:33:42 +02:00 |
|
Matthew Kraai
|
753c39672e
|
Use lint pass macros
Fixes #3917.
|
2019-04-17 09:35:22 -07:00 |
|
Philipp Hansch
|
9ca34e37fa
|
Run more doc tests
This executes some more doc tests that were ignored before.
|
2019-03-12 06:53:25 +01:00 |
|