Auto merge of #12834 - dtolnay:bound, r=nox

Remove #[serde(bound = "")] attributes

These were fixed in serde_codegen 0.8.0 by serde-rs/serde#456.

cc @nox

- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [x] These changes do not require tests because: the generated code continues to compile

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12834)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-08-12 19:01:28 -05:00 committed by GitHub
commit 11b853fbf1
3 changed files with 0 additions and 3 deletions

View file

@ -74,7 +74,6 @@ pub enum FromLayoutMsg {
}
#[derive(Clone, Deserialize, Serialize)]
#[serde(bound = "")] // Prevent serde from generating cyclic bounds.
pub enum Canvas2dMsg {
Arc(Point2D<f32>, f32, f32, f32, bool),
ArcTo(Point2D<f32>, Point2D<f32>, f32),

View file

@ -791,7 +791,6 @@ impl fmt::Debug for StackingContext {
/// One drawing command in the list.
#[derive(Clone, Deserialize, HeapSizeOf, Serialize)]
#[serde(bound = "")] // Prevent serde from generating cyclic bounds.
pub enum DisplayItem {
SolidColorClass(Box<SolidColorDisplayItem>),
TextClass(Box<TextDisplayItem>),

View file

@ -59,7 +59,6 @@ pub enum LogEntry {
/// Messages from the script to the constellation.
#[derive(Deserialize, Serialize)]
#[serde(bound = "")] // Prevent serde from generating cyclic bounds.
pub enum ScriptMsg {
/// Indicates whether this pipeline is currently running animations.
ChangeRunningAnimationsState(PipelineId, AnimationState),