Skip to content

Commit 683e989

Browse files
bors[bot]eddyb
andcommitted
Merge #2409
2409: Don't #[allow(type_alias_bounds)]. r=kvark a=eddyb rust-lang/rust#54090 will fix false positives (not relevant here) and make it an error in the upcoming Rust 2018 edition, which means that if you want to migrate to Rust 2018, it shouldn't be ignored. See also rust-lang/rust#49441 (comment) for the decision and some background. Co-authored-by: Eduard-Mihai Burtescu <[email protected]>
2 parents 1d8b50e + b0d7a88 commit 683e989

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/hal/src/command/mod.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ unsafe impl<'a, B: Backend, C, L: Level> Submittable<'a, B, C, L> for &'a Submit
9090
}
9191

9292
/// A convenience alias for not typing out the full signature of a secondary command buffer.
93-
#[allow(type_alias_bounds)]
94-
pub type SecondaryCommandBuffer<'a, B: Backend, C, S: Shot = OneShot> = CommandBuffer<'a, B, C, S, Secondary>;
93+
pub type SecondaryCommandBuffer<'a, B, C, S = OneShot> = CommandBuffer<'a, B, C, S, Secondary>;
9594

9695
/// A strongly-typed command buffer that will only implement methods that are valid for the operations
9796
/// it supports.

0 commit comments

Comments
 (0)