Add support for border radii (#261) #1072
Annotations
31 errors and 2 warnings
unnecessary structure name repetition:
src/shapes.rs#L107
error: unnecessary structure name repetition
--> src/shapes.rs:107:9
|
107 | LyonBorderRadii {
| ^^^^^^^^^^^^^^^ help: use the applicable keyword: `Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#use_self
= note: `-D clippy::use-self` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::use_self)]`
|
unnecessary structure name repetition:
src/shapes.rs#L107
error: unnecessary structure name repetition
--> src/shapes.rs:107:9
|
107 | LyonBorderRadii {
| ^^^^^^^^^^^^^^^ help: use the applicable keyword: `Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#use_self
= note: `-D clippy::use-self` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::use_self)]`
|
this method could have a `#[must_use]` attribute:
src/shapes.rs#L95
error: this method could have a `#[must_use]` attribute
--> src/shapes.rs:95:5
|
95 | pub fn right(radius: f32) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn right(radius: f32) -> Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
|
this method could have a `#[must_use]` attribute:
src/shapes.rs#L95
error: this method could have a `#[must_use]` attribute
--> src/shapes.rs:95:5
|
95 | pub fn right(radius: f32) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn right(radius: f32) -> Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
|
this method could have a `#[must_use]` attribute:
src/shapes.rs#L86
error: this method could have a `#[must_use]` attribute
--> src/shapes.rs:86:5
|
86 | pub fn left(radius: f32) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn left(radius: f32) -> Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
|
this method could have a `#[must_use]` attribute:
src/shapes.rs#L86
error: this method could have a `#[must_use]` attribute
--> src/shapes.rs:86:5
|
86 | pub fn left(radius: f32) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn left(radius: f32) -> Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
|
this method could have a `#[must_use]` attribute:
src/shapes.rs#L77
error: this method could have a `#[must_use]` attribute
--> src/shapes.rs:77:5
|
77 | pub fn bottom(radius: f32) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn bottom(radius: f32) -> Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
|
this method could have a `#[must_use]` attribute:
src/shapes.rs#L77
error: this method could have a `#[must_use]` attribute
--> src/shapes.rs:77:5
|
77 | pub fn bottom(radius: f32) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn bottom(radius: f32) -> Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
|
this method could have a `#[must_use]` attribute:
src/shapes.rs#L68
error: this method could have a `#[must_use]` attribute
--> src/shapes.rs:68:5
|
68 | pub fn top(radius: f32) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn top(radius: f32) -> Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
|
this method could have a `#[must_use]` attribute:
src/shapes.rs#L68
error: this method could have a `#[must_use]` attribute
--> src/shapes.rs:68:5
|
68 | pub fn top(radius: f32) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn top(radius: f32) -> Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
|
this method could have a `#[must_use]` attribute:
src/shapes.rs#L58
error: this method could have a `#[must_use]` attribute
--> src/shapes.rs:58:5
|
58 | pub fn single(radius: f32) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn single(radius: f32) -> Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
= note: `-D clippy::must-use-candidate` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::must_use_candidate)]`
|
this method could have a `#[must_use]` attribute:
src/shapes.rs#L58
error: this method could have a `#[must_use]` attribute
--> src/shapes.rs:58:5
|
58 | pub fn single(radius: f32) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn single(radius: f32) -> Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
= note: `-D clippy::must-use-candidate` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::must_use_candidate)]`
|
unnecessary structure name repetition:
src/shapes.rs#L107
error: unnecessary structure name repetition
--> src/shapes.rs:107:9
|
107 | LyonBorderRadii {
| ^^^^^^^^^^^^^^^ help: use the applicable keyword: `Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#use_self
= note: `-D clippy::use-self` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::use_self)]`
|
unnecessary structure name repetition:
src/shapes.rs#L107
error: unnecessary structure name repetition
--> src/shapes.rs:107:9
|
107 | LyonBorderRadii {
| ^^^^^^^^^^^^^^^ help: use the applicable keyword: `Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#use_self
= note: `-D clippy::use-self` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::use_self)]`
|
this method could have a `#[must_use]` attribute:
src/shapes.rs#L95
error: this method could have a `#[must_use]` attribute
--> src/shapes.rs:95:5
|
95 | pub fn right(radius: f32) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn right(radius: f32) -> Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
|
this method could have a `#[must_use]` attribute:
src/shapes.rs#L95
error: this method could have a `#[must_use]` attribute
--> src/shapes.rs:95:5
|
95 | pub fn right(radius: f32) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn right(radius: f32) -> Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
|
this method could have a `#[must_use]` attribute:
src/shapes.rs#L86
error: this method could have a `#[must_use]` attribute
--> src/shapes.rs:86:5
|
86 | pub fn left(radius: f32) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn left(radius: f32) -> Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
|
this method could have a `#[must_use]` attribute:
src/shapes.rs#L86
error: this method could have a `#[must_use]` attribute
--> src/shapes.rs:86:5
|
86 | pub fn left(radius: f32) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn left(radius: f32) -> Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
|
this method could have a `#[must_use]` attribute:
src/shapes.rs#L77
error: this method could have a `#[must_use]` attribute
--> src/shapes.rs:77:5
|
77 | pub fn bottom(radius: f32) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn bottom(radius: f32) -> Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
|
this method could have a `#[must_use]` attribute:
src/shapes.rs#L77
error: this method could have a `#[must_use]` attribute
--> src/shapes.rs:77:5
|
77 | pub fn bottom(radius: f32) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn bottom(radius: f32) -> Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
|
this method could have a `#[must_use]` attribute:
src/shapes.rs#L68
error: this method could have a `#[must_use]` attribute
--> src/shapes.rs:68:5
|
68 | pub fn top(radius: f32) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn top(radius: f32) -> Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
|
this method could have a `#[must_use]` attribute:
src/shapes.rs#L68
error: this method could have a `#[must_use]` attribute
--> src/shapes.rs:68:5
|
68 | pub fn top(radius: f32) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn top(radius: f32) -> Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
|
this method could have a `#[must_use]` attribute:
src/shapes.rs#L58
error: this method could have a `#[must_use]` attribute
--> src/shapes.rs:58:5
|
58 | pub fn single(radius: f32) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn single(radius: f32) -> Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
= note: `-D clippy::must-use-candidate` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::must_use_candidate)]`
|
this method could have a `#[must_use]` attribute:
src/shapes.rs#L58
error: this method could have a `#[must_use]` attribute
--> src/shapes.rs:58:5
|
58 | pub fn single(radius: f32) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add the attribute: `#[must_use] pub fn single(radius: f32) -> Self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#must_use_candidate
= note: `-D clippy::must-use-candidate` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::must_use_candidate)]`
|
build (stable, ubuntu-latest)
Clippy had exited with the 101 exit code
|
build (nightly, ubuntu-latest)
The job was canceled because "stable_ubuntu-latest" failed.
|
build (nightly, ubuntu-latest)
Clippy had exited with the 101 exit code
|
build (stable, windows-latest)
The job was canceled because "stable_ubuntu-latest" failed.
|
build (stable, windows-latest)
The operation was canceled.
|
build (nightly, windows-latest)
The job was canceled because "stable_ubuntu-latest" failed.
|
build (nightly, windows-latest)
The operation was canceled.
|
build (stable, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build (stable, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|