servo / rust-azure

Rust bindings to mozilla-central's graphics abstraction layer
Mozilla Public License 2.0
56 stars 59 forks source link

Bump euclid to 0.14 #264

Closed nical closed 7 years ago

nical commented 7 years ago

In order for this to build we need servo-skia to be published on crates.io.


This change is Reviewable

jdm commented 7 years ago
error[E0308]: mismatched types

   --> src/azure_hl.rs:739:71

    |

739 |                                               &AzPoint::from_point_2d(offset),

    |                                                                       ^^^^^^ expected struct `euclid::TypedPoint2D`, found struct `euclid::TypedVector2D`

    |

    = note: expected type `&euclid::TypedPoint2D<f32, euclid::UnknownUnit>`

               found type `&euclid::TypedVector2D<f32, euclid::UnknownUnit>`

    = help: here are some functions which might fulfill your needs:

            - .length()

            - .square_length()

error[E0308]: mismatched types

   --> src/azure_hl.rs:739:71

    |

739 |                                               &AzPoint::from_point_2d(offset),

    |                                                                       ^^^^^^ expected struct `euclid::TypedPoint2D`, found struct `euclid::TypedVector2D`

    |

    = note: expected type `&euclid::TypedPoint2D<f32, euclid::UnknownUnit>`

               found type `&euclid::TypedVector2D<f32, euclid::UnknownUnit>`

    = help: here are some functions which might fulfill your needs:

            - .length()

            - .square_length()

error: aborting due to previous error

error: Could not compile `azure`.
nical commented 7 years ago

This should be in a good state now, r? @jdm

nox commented 7 years ago

@bors-servo delegate+

bors-servo commented 7 years ago

:v: @nical can now approve this pull request

nical commented 7 years ago

@bors-servo r=nox

bors-servo commented 7 years ago

:pushpin: Commit cdb257c has been approved by nox

bors-servo commented 7 years ago

:hourglass: Testing commit cdb257c9faa8117d6af2405110c7a780e1afc5fc with merge 3944a65fd2a3790c85e3770d5130e1b4ab153b68...

bors-servo commented 7 years ago

:sunny: Test successful - status-travis Approved by: nox Pushing 3944a65fd2a3790c85e3770d5130e1b4ab153b68 to master...