-
Notifications
You must be signed in to change notification settings - Fork 896
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
preparation for potential rustfmt 1.4.19 (#4283)
- Loading branch information
Showing
13 changed files
with
170 additions
and
164 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
|
||
name = "rustfmt-nightly" | ||
version = "1.4.18" | ||
version = "1.4.19" | ||
authors = ["Nicholas Cameron <[email protected]>", "The Rustfmt developers"] | ||
description = "Tool to find and fix Rust formatting issues" | ||
repository = "https://github.com/rust-lang/rustfmt" | ||
|
@@ -66,36 +66,36 @@ rustc-workspace-hack = "1.0.0" | |
|
||
[dependencies.rustc_ast] | ||
package = "rustc-ap-rustc_ast" | ||
version = "664.0.0" | ||
version = "669.0.0" | ||
|
||
[dependencies.rustc_ast_pretty] | ||
package = "rustc-ap-rustc_ast_pretty" | ||
version = "664.0.0" | ||
version = "669.0.0" | ||
|
||
[dependencies.rustc_attr] | ||
package = "rustc-ap-rustc_attr" | ||
version = "664.0.0" | ||
version = "669.0.0" | ||
|
||
[dependencies.rustc_data_structures] | ||
package = "rustc-ap-rustc_data_structures" | ||
version = "664.0.0" | ||
version = "669.0.0" | ||
|
||
[dependencies.rustc_errors] | ||
package = "rustc-ap-rustc_errors" | ||
version = "664.0.0" | ||
version = "669.0.0" | ||
|
||
[dependencies.rustc_expand] | ||
package = "rustc-ap-rustc_expand" | ||
version = "664.0.0" | ||
version = "669.0.0" | ||
|
||
[dependencies.rustc_parse] | ||
package = "rustc-ap-rustc_parse" | ||
version = "664.0.0" | ||
version = "669.0.0" | ||
|
||
[dependencies.rustc_session] | ||
package = "rustc-ap-rustc_session" | ||
version = "664.0.0" | ||
version = "669.0.0" | ||
|
||
[dependencies.rustc_span] | ||
package = "rustc-ap-rustc_span" | ||
version = "664.0.0" | ||
version = "669.0.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
unstable_features = true | ||
ignore = [ | ||
"tests/**/issue-3779/ice.rs" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// rustfmt-unstable: true | ||
// rustfmt-config: issue-3779.toml | ||
|
||
#[path = "ice.rs"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// rustfmt-unstable: true | ||
// rustfmt-config: issue-3779.toml | ||
|
||
#[path = "ice.rs"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
fn emulate_foreign_item() { | ||
match link_name { | ||
// A comment here will duplicate the attribute | ||
#[rustfmt::skip] | ||
| "pthread_mutexattr_init" | ||
| "pthread_mutexattr_settype" | ||
| "pthread_mutex_init" | ||
=> {} | ||
} | ||
} |