rchaser53
591b562bcf
use filter by hash when first rendering
2019-04-22 23:50:44 +09:00
Seiichi Uchida
31a69429ae
Merge pull request #3519 from oli-obk/patch-1
...
"first" element check does nothing
2019-04-22 04:54:06 -07:00
Oliver Scherer
c60d6ddc02
"first" element check does nothing
2019-04-22 13:04:44 +02:00
topecongiro
b860feaffc
Release 1.2.1
2019-04-18 07:26:52 +09:00
topecongiro
ebd9ef5c51
Cargo update
2019-04-18 07:26:22 +09:00
Seiichi Uchida
5dd042c152
Merge pull request #3511 from topecongiro/issue3498
...
Avoid overflowing item with attributes
2019-04-17 11:40:00 -07:00
Seiichi Uchida
760ec07978
Merge pull request #3510 from topecongiro/issue3509
...
Fix duplication of attributes on a match arm's body
2019-04-17 11:39:44 -07:00
Ruben Schmidmeister
3dc625c661
Use annotate-snippets for emitting errors ( #3507 )
2019-04-17 05:33:36 -07:00
Seiichi Uchida
efa3a62b56
Merge pull request #3512 from scampi/issue-2724
...
exit integration test successfully if the crate build failed before applying rustfmt
2019-04-16 00:42:15 -07:00
Stéphane Campinas
d0df47fc58
Merge pull request #3506 from rchaser53/issue-3505
...
fix not to emit version
2019-04-16 07:29:26 +02:00
Stéphane Campinas
1c7202b2ee
fix test_ignore_path_set test when run on beta
...
```
---- ignore_path::test::test_ignore_path_set stdout ----
Warning: can't set `ignore = IgnoreList({"foo.rs", "bar_dir/*"})`, unstable features are only available in nightly channel.
thread 'ignore_path::test::test_ignore_path_set' panicked at 'assertion failed: ignore_path_set.is_match(&FileName::Real(PathBuf::from("src/foo.rs")))', src/ignore_path.rs:51:9
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
failures:
ignore_path::test::test_ignore_path_set
```
2019-04-15 14:00:11 +02:00
Stéphane Campinas
31fbf34439
add check for failed tests
2019-04-15 12:01:49 +02:00
Stéphane Campinas
81a1d46723
exit integration test successfully if the crate build failed before applying rustfmt
...
The `cargo test --all` command failed and exited the main process with a
SIGINT. Trapping the signal or trying to get the code of a subshell
didn't work.
Close #2724
2019-04-15 11:33:11 +02:00
topecongiro
d3e578b131
Avoid overflowing item if it has attributes
2019-04-14 20:45:04 +09:00
topecongiro
37959a9da7
Add a test for #3498
2019-04-14 20:44:52 +09:00
rchaser53
15ab363508
not to use Vec
2019-04-14 20:37:29 +09:00
topecongiro
b57e0e2279
Disallow putting a body with attributes on the same line
2019-04-14 20:13:54 +09:00
topecongiro
3d80678e24
Do not include body's attributes in arrow_span
2019-04-14 20:13:07 +09:00
topecongiro
0d4fb2403c
Add a test for #3509
2019-04-14 20:12:58 +09:00
rChaser53
34bf13718a
Allow specifying glob pattern to ignore config option ( #3488 )
2019-04-14 03:30:44 -07:00
rchaser53
3759a6695d
add the error mapping
2019-04-14 17:34:53 +09:00
rchaser53
8a04ec6ec7
fix not to emit version
2019-04-14 00:23:10 +09:00
Stéphane Campinas
7862051e7d
Merge pull request #3504 from matthiaskrgr/clippy_2
...
fix a bunch of clippy warnings
2019-04-11 16:55:03 +02:00
Matthias Krüger
4352681d62
fix clippy warnings
...
clippy::needless_return
clippy::redundant_closure
clippy::or_fun_call
clippy::len_zero
clippy::expect_fun_call
clippy::assertions_on_constants
clippy::identity_conversion
clippy::chars_last_cmp
2019-04-11 13:48:13 +02:00
Seiichi Uchida
896394a7a5
Merge pull request #3503 from rchaser53/update-readme
...
update README.md for GitHub page
2019-04-11 01:57:11 +09:00
rchaser53
76895647c5
update README.md for GitHub page
2019-04-11 00:36:28 +09:00
Seiichi Uchida
378b28b06e
Merge pull request #3495 from scampi/issue-1096
...
keep missed comments appearing after the struct/enum ident
2019-04-10 06:00:51 +09:00
rChaser53
77924a9e44
create GitHub page for Configuration.md ( #3485 )
2019-04-10 05:57:16 +09:00
Stéphane Campinas
35504acc6f
Merge pull request #3500 from rchaser53/issue-3499
...
fix not to delete semicolon for macro with square brackets
2019-04-09 15:40:18 +02:00
rchaser53
8ffe4146cc
fix not to delete semicolon
2019-04-07 12:31:57 +09:00
Seiichi Uchida
8ec0750bb8
Merge pull request #3497 from lwshang/master
...
Fix Travis-CI badge url
2019-04-06 10:05:21 +09:00
lwshang
fdd4bce8b3
Fix Travis-CI badge url
2019-04-05 16:32:42 -04:00
Stéphane Campinas
bf383c4610
keep missed comments appearing after the struct/enum ident
2019-04-05 17:11:11 +02:00
Stéphane Campinas
8e068510a4
keep comment appearing between parameter's name and its type ( #3491 )
2019-04-03 18:16:54 +09:00
Seiichi Uchida
7650f0bc8b
Merge pull request #3483 from chrisduerr/master
...
Enable overflow_delimited_expr for structs
2019-03-31 21:30:49 +09:00
Christian Duerr
919bee8990
Enable overflow_delimited_expr for structs
...
This fixes https://github.com/rust-lang/rustfmt/issues/3482 .
2019-03-30 18:37:37 +01:00
Seiichi Uchida
dfa94d1505
Merge pull request #3480 from sinkuu/cleanup
...
Cleanups
2019-03-29 22:07:19 +09:00
Seiichi Uchida
f70ce00305
Merge pull request #3479 from sinkuu/issue_2995
...
Fix indexing panic on unicode whitespaces
2019-03-29 22:03:42 +09:00
Shotaro Yamada
c0ff894a22
Fix indexing panic on unicode whitespaces
2019-03-29 20:12:45 +09:00
Shotaro Yamada
9fda937779
Remove redundant &
2019-03-29 19:17:50 +09:00
Shotaro Yamada
ff0683d666
Simplify iterators
2019-03-29 19:06:32 +09:00
Shotaro Yamada
8e4c20da80
Write seperator beforehand
2019-03-29 19:06:32 +09:00
Shotaro Yamada
6e288fdae0
Remove a write of empty string
2019-03-29 19:06:32 +09:00
Shotaro Yamada
a2d9b6d1b1
Remove redundant scopes
2019-03-29 19:06:32 +09:00
Shotaro Yamada
e3a4a03657
Use str::repeat
2019-03-29 19:06:32 +09:00
Seiichi Uchida
b4b80b6395
Merge pull request #3472 from devinalvaro/add-print-current-config
...
Add option to print current config to stdout
2019-03-29 17:35:02 +09:00
topecongiro
09940a70d0
Release 1.2.0
2019-03-27 10:29:28 +09:00
Seiichi Uchida
2dc9cfca50
Merge pull request #3477 from topecongiro/test-with-larger-stack-size
...
Test with larger stack size
2019-03-27 10:28:26 +09:00
topecongiro
a7728d352c
Remove RUST_MIN_STACK declarations from CI scripts
2019-03-26 23:35:51 +09:00
topecongiro
968d30f5d8
Run tests in a thread with larger stack size
2019-03-26 23:35:07 +09:00