Skip to content

Merge pull request #359 from 8bitZeta/master #385

Merge pull request #359 from 8bitZeta/master

Merge pull request #359 from 8bitZeta/master #385

GitHub Actions / clippy failed Feb 21, 2024 in 0s

clippy

5 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 5
Warning 0
Note 0
Help 0

Versions

  • rustc 1.76.0 (07dca489a 2024-02-04)
  • cargo 1.76.0 (c84b36747 2024-01-18)
  • clippy 0.1.76 (07dca48 2024-02-04)

Annotations

Check failure on line 45 in os_info/src/linux/lsb_release.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

no variant or associated item named `Ultramarine` found for enum `os_type::Type` in the current scope

error[E0599]: no variant or associated item named `Ultramarine` found for enum `os_type::Type` in the current scope
  --> os_info/src/linux/lsb_release.rs:45:38
   |
45 |         Some("Ultramarine") => Type::Ultramarine,
   |                                      ^^^^^^^^^^^ variant or associated item not found in `Type`
   |
  ::: os_info/src/os_type.rs:8:1
   |
8  | pub enum Type {
   | ------------- variant or associated item `Ultramarine` not found for this enum

Check failure on line 599 in os_info/src/linux/file_release.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

no variant or associated item named `Ultramarine` found for enum `os_type::Type` in the current scope

error[E0599]: no variant or associated item named `Ultramarine` found for enum `os_type::Type` in the current scope
   --> os_info/src/linux/file_release.rs:599:42
    |
599 |         assert_eq!(info.os_type(), Type::Ultramarine);
    |                                          ^^^^^^^^^^^ variant or associated item not found in `Type`
    |
   ::: os_info/src/os_type.rs:8:1
    |
8   | pub enum Type {
    | ------------- variant or associated item `Ultramarine` not found for this enum

Check failure on line 45 in os_info/src/linux/lsb_release.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

no variant or associated item named `Ultramarine` found for enum `os_type::Type` in the current scope

error[E0599]: no variant or associated item named `Ultramarine` found for enum `os_type::Type` in the current scope
  --> os_info/src/linux/lsb_release.rs:45:38
   |
45 |         Some("Ultramarine") => Type::Ultramarine,
   |                                      ^^^^^^^^^^^ variant or associated item not found in `Type`
   |
  ::: os_info/src/os_type.rs:8:1
   |
8  | pub enum Type {
   | ------------- variant or associated item `Ultramarine` not found for this enum

Check failure on line 138 in os_info/src/linux/file_release.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

no variant or associated item named `Ultramarine` found for enum `os_type::Type` in the current scope

error[E0599]: no variant or associated item named `Ultramarine` found for enum `os_type::Type` in the current scope
   --> os_info/src/linux/file_release.rs:138:49
    |
138 |                     "ultramarine" => Some(Type::Ultramarine),
    |                                                 ^^^^^^^^^^^ variant or associated item not found in `Type`
    |
   ::: os_info/src/os_type.rs:8:1
    |
8   | pub enum Type {
    | ------------- variant or associated item `Ultramarine` not found for this enum

Check failure on line 138 in os_info/src/linux/file_release.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

no variant or associated item named `Ultramarine` found for enum `os_type::Type` in the current scope

error[E0599]: no variant or associated item named `Ultramarine` found for enum `os_type::Type` in the current scope
   --> os_info/src/linux/file_release.rs:138:49
    |
138 |                     "ultramarine" => Some(Type::Ultramarine),
    |                                                 ^^^^^^^^^^^ variant or associated item not found in `Type`
    |
   ::: os_info/src/os_type.rs:8:1
    |
8   | pub enum Type {
    | ------------- variant or associated item `Ultramarine` not found for this enum