Skip to content

Commit

Permalink
Update to rust 1.33.0 (pantsbuild#7305)
Browse files Browse the repository at this point in the history
  • Loading branch information
illicitonion authored Mar 3, 2019
1 parent 29bb3d0 commit c6743ec
Show file tree
Hide file tree
Showing 22 changed files with 22 additions and 106 deletions.
6 changes: 1 addition & 5 deletions build-support/rust-target-prefix.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
clippy::too_many_arguments
)]
// Default isn't as big a deal as people seem to think it is.
#![allow(
clippy::new_without_default,
clippy::new_without_default_derive,
clippy::new_ret_no_self
)]
#![allow(clippy::new_without_default, clippy::new_ret_no_self)]
// Arc<Mutex> can be more clear than needing to grok Orderings:
#![allow(clippy::mutex_atomic)]
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.32.0
1.33.0
6 changes: 1 addition & 5 deletions src/rust/engine/async_semaphore/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@
clippy::too_many_arguments
)]
// Default isn't as big a deal as people seem to think it is.
#![allow(
clippy::new_without_default,
clippy::new_without_default_derive,
clippy::new_ret_no_self
)]
#![allow(clippy::new_without_default, clippy::new_ret_no_self)]
// Arc<Mutex> can be more clear than needing to grok Orderings:
#![allow(clippy::mutex_atomic)]

Expand Down
6 changes: 1 addition & 5 deletions src/rust/engine/boxfuture/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@
clippy::too_many_arguments
)]
// Default isn't as big a deal as people seem to think it is.
#![allow(
clippy::new_without_default,
clippy::new_without_default_derive,
clippy::new_ret_no_self
)]
#![allow(clippy::new_without_default, clippy::new_ret_no_self)]
// Arc<Mutex> can be more clear than needing to grok Orderings:
#![allow(clippy::mutex_atomic)]

Expand Down
6 changes: 1 addition & 5 deletions src/rust/engine/build_utils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@
clippy::too_many_arguments
)]
// Default isn't as big a deal as people seem to think it is.
#![allow(
clippy::new_without_default,
clippy::new_without_default_derive,
clippy::new_ret_no_self
)]
#![allow(clippy::new_without_default, clippy::new_ret_no_self)]
// Arc<Mutex> can be more clear than needing to grok Orderings:
#![allow(clippy::mutex_atomic)]

Expand Down
6 changes: 1 addition & 5 deletions src/rust/engine/fs/brfs/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@
clippy::too_many_arguments
)]
// Default isn't as big a deal as people seem to think it is.
#![allow(
clippy::new_without_default,
clippy::new_without_default_derive,
clippy::new_ret_no_self
)]
#![allow(clippy::new_without_default, clippy::new_ret_no_self)]
// Arc<Mutex> can be more clear than needing to grok Orderings:
#![allow(clippy::mutex_atomic)]

Expand Down
6 changes: 1 addition & 5 deletions src/rust/engine/fs/fs_util/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@
clippy::too_many_arguments
)]
// Default isn't as big a deal as people seem to think it is.
#![allow(
clippy::new_without_default,
clippy::new_without_default_derive,
clippy::new_ret_no_self
)]
#![allow(clippy::new_without_default, clippy::new_ret_no_self)]
// Arc<Mutex> can be more clear than needing to grok Orderings:
#![allow(clippy::mutex_atomic)]

Expand Down
6 changes: 1 addition & 5 deletions src/rust/engine/fs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@
clippy::too_many_arguments
)]
// Default isn't as big a deal as people seem to think it is.
#![allow(
clippy::new_without_default,
clippy::new_without_default_derive,
clippy::new_ret_no_self
)]
#![allow(clippy::new_without_default, clippy::new_ret_no_self)]
// Arc<Mutex> can be more clear than needing to grok Orderings:
#![allow(clippy::mutex_atomic)]

Expand Down
6 changes: 1 addition & 5 deletions src/rust/engine/graph/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@
clippy::too_many_arguments
)]
// Default isn't as big a deal as people seem to think it is.
#![allow(
clippy::new_without_default,
clippy::new_without_default_derive,
clippy::new_ret_no_self
)]
#![allow(clippy::new_without_default, clippy::new_ret_no_self)]
// Arc<Mutex> can be more clear than needing to grok Orderings:
#![allow(clippy::mutex_atomic)]

Expand Down
6 changes: 1 addition & 5 deletions src/rust/engine/hashing/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@
clippy::too_many_arguments
)]
// Default isn't as big a deal as people seem to think it is.
#![allow(
clippy::new_without_default,
clippy::new_without_default_derive,
clippy::new_ret_no_self
)]
#![allow(clippy::new_without_default, clippy::new_ret_no_self)]
// Arc<Mutex> can be more clear than needing to grok Orderings:
#![allow(clippy::mutex_atomic)]

Expand Down
6 changes: 1 addition & 5 deletions src/rust/engine/process_execution/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@
clippy::too_many_arguments
)]
// Default isn't as big a deal as people seem to think it is.
#![allow(
clippy::new_without_default,
clippy::new_without_default_derive,
clippy::new_ret_no_self
)]
#![allow(clippy::new_without_default, clippy::new_ret_no_self)]
// Arc<Mutex> can be more clear than needing to grok Orderings:
#![allow(clippy::mutex_atomic)]

Expand Down
6 changes: 1 addition & 5 deletions src/rust/engine/process_executor/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@
clippy::too_many_arguments
)]
// Default isn't as big a deal as people seem to think it is.
#![allow(
clippy::new_without_default,
clippy::new_without_default_derive,
clippy::new_ret_no_self
)]
#![allow(clippy::new_without_default, clippy::new_ret_no_self)]
// Arc<Mutex> can be more clear than needing to grok Orderings:
#![allow(clippy::mutex_atomic)]

Expand Down
6 changes: 1 addition & 5 deletions src/rust/engine/resettable/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@
clippy::too_many_arguments
)]
// Default isn't as big a deal as people seem to think it is.
#![allow(
clippy::new_without_default,
clippy::new_without_default_derive,
clippy::new_ret_no_self
)]
#![allow(clippy::new_without_default, clippy::new_ret_no_self)]
// Arc<Mutex> can be more clear than needing to grok Orderings:
#![allow(clippy::mutex_atomic)]

Expand Down
6 changes: 1 addition & 5 deletions src/rust/engine/serverset/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@
clippy::too_many_arguments
)]
// Default isn't as big a deal as people seem to think it is.
#![allow(
clippy::new_without_default,
clippy::new_without_default_derive,
clippy::new_ret_no_self
)]
#![allow(clippy::new_without_default, clippy::new_ret_no_self)]
// Arc<Mutex> can be more clear than needing to grok Orderings:
#![allow(clippy::mutex_atomic)]

Expand Down
6 changes: 1 addition & 5 deletions src/rust/engine/src/cffi_build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@
clippy::too_many_arguments
)]
// Default isn't as big a deal as people seem to think it is.
#![allow(
clippy::new_without_default,
clippy::new_without_default_derive,
clippy::new_ret_no_self
)]
#![allow(clippy::new_without_default, clippy::new_ret_no_self)]
// Arc<Mutex> can be more clear than needing to grok Orderings:
#![allow(clippy::mutex_atomic)]

Expand Down
6 changes: 1 addition & 5 deletions src/rust/engine/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@
clippy::too_many_arguments
)]
// Default isn't as big a deal as people seem to think it is.
#![allow(
clippy::new_without_default,
clippy::new_without_default_derive,
clippy::new_ret_no_self
)]
#![allow(clippy::new_without_default, clippy::new_ret_no_self)]
// Arc<Mutex> can be more clear than needing to grok Orderings:
#![allow(clippy::mutex_atomic)]
// We only use unsafe pointer derefrences in our no_mangle exposed API, but it is nicer to list
Expand Down
6 changes: 1 addition & 5 deletions src/rust/engine/tar_api/src/tar_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@
clippy::too_many_arguments
)]
// Default isn't as big a deal as people seem to think it is.
#![allow(
clippy::new_without_default,
clippy::new_without_default_derive,
clippy::new_ret_no_self
)]
#![allow(clippy::new_without_default, clippy::new_ret_no_self)]
// Arc<Mutex> can be more clear than needing to grok Orderings:
#![allow(clippy::mutex_atomic)]

Expand Down
6 changes: 1 addition & 5 deletions src/rust/engine/testutil/local_cas/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@
clippy::too_many_arguments
)]
// Default isn't as big a deal as people seem to think it is.
#![allow(
clippy::new_without_default,
clippy::new_without_default_derive,
clippy::new_ret_no_self
)]
#![allow(clippy::new_without_default, clippy::new_ret_no_self)]
// Arc<Mutex> can be more clear than needing to grok Orderings:
#![allow(clippy::mutex_atomic)]

Expand Down
6 changes: 1 addition & 5 deletions src/rust/engine/testutil/mock/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@
clippy::too_many_arguments
)]
// Default isn't as big a deal as people seem to think it is.
#![allow(
clippy::new_without_default,
clippy::new_without_default_derive,
clippy::new_ret_no_self
)]
#![allow(clippy::new_without_default, clippy::new_ret_no_self)]
// Arc<Mutex> can be more clear than needing to grok Orderings:
#![allow(clippy::mutex_atomic)]

Expand Down
6 changes: 1 addition & 5 deletions src/rust/engine/testutil/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@
clippy::too_many_arguments
)]
// Default isn't as big a deal as people seem to think it is.
#![allow(
clippy::new_without_default,
clippy::new_without_default_derive,
clippy::new_ret_no_self
)]
#![allow(clippy::new_without_default, clippy::new_ret_no_self)]
// Arc<Mutex> can be more clear than needing to grok Orderings:
#![allow(clippy::mutex_atomic)]

Expand Down
6 changes: 1 addition & 5 deletions src/rust/engine/ui/src/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@
clippy::too_many_arguments
)]
// Default isn't as big a deal as people seem to think it is.
#![allow(
clippy::new_without_default,
clippy::new_without_default_derive,
clippy::new_ret_no_self
)]
#![allow(clippy::new_without_default, clippy::new_ret_no_self)]
// Arc<Mutex> can be more clear than needing to grok Orderings:
#![allow(clippy::mutex_atomic)]

Expand Down
6 changes: 1 addition & 5 deletions src/rust/engine/ui/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@
clippy::too_many_arguments
)]
// Default isn't as big a deal as people seem to think it is.
#![allow(
clippy::new_without_default,
clippy::new_without_default_derive,
clippy::new_ret_no_self
)]
#![allow(clippy::new_without_default, clippy::new_ret_no_self)]
// Arc<Mutex> can be more clear than needing to grok Orderings:
#![allow(clippy::mutex_atomic)]

Expand Down

0 comments on commit c6743ec

Please sign in to comment.