clippy
12 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 12 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.74.1 (a28077b28 2023-12-04)
- cargo 1.74.1 (ecb9851af 2023-10-18)
- clippy 0.1.74 (a28077b 2023-12-04)
Annotations
Check warning on line 149 in crates/rune-core/src/macros.rs
github-actions / clippy
`crate` references the macro call's crate
warning: `crate` references the macro call's crate
--> crates/rune-core/src/macros.rs:149:27
|
149 | v => unsafe { crate::core::object::WithLifetime::<'static>::with_lifetime(v) }
| ^^^^^ help: to reference the macro definition's crate, use: `$crate`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#crate_in_macro_def
Check warning on line 103 in crates/rune-core/src/macros.rs
github-actions / clippy
`crate` references the macro call's crate
warning: `crate` references the macro call's crate
--> crates/rune-core/src/macros.rs:103:19
|
103 | let list: crate::core::object::Gc<crate::core::object::List> = match $value {
| ^^^^^ help: to reference the macro definition's crate, use: `$crate`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#crate_in_macro_def
Check warning on line 80 in crates/rune-core/src/macros.rs
github-actions / clippy
`crate` references the macro call's crate
warning: `crate` references the macro call's crate
--> crates/rune-core/src/macros.rs:80:22
|
80 | unsafe { crate::core::gc::IntoRoot::into_root($ident) },
| ^^^^^ help: to reference the macro definition's crate, use: `$crate`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#crate_in_macro_def
Check warning on line 64 in crates/rune-core/src/macros.rs
github-actions / clippy
`crate` references the macro call's crate
warning: `crate` references the macro call's crate
--> crates/rune-core/src/macros.rs:64:57
|
64 | ($msg:literal $(,)? $($args:expr),* $(,)?) => (crate::core::error::EvalError::new_error(anyhow::anyhow!($msg, $($args),*)));
| ^^^^^ help: to reference the macro definition's crate, use: `$crate`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#crate_in_macro_def
Check warning on line 43 in crates/rune-core/src/macros.rs
github-actions / clippy
`crate` references the macro call's crate
warning: `crate` references the macro call's crate
--> crates/rune-core/src/macros.rs:43:22
|
43 | unsafe { crate::core::cons::Cons::new_unchecked(car, cdr) }
| ^^^^^ help: to reference the macro definition's crate, use: `$crate`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#crate_in_macro_def
Check warning on line 13 in crates/rune-core/src/macros.rs
github-actions / clippy
`crate` references the macro call's crate
warning: `crate` references the macro call's crate
--> crates/rune-core/src/macros.rs:13:41
|
13 | impl<'ob> std::convert::TryFrom<crate::object::GcObj<'ob>> for $self {
| ^^^^^ help: to reference the macro definition's crate, use: `$crate`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#crate_in_macro_def
= note: `-W clippy::crate-in-macro-def` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::crate_in_macro_def)]`
Check warning on line 149 in crates/rune-core/src/macros.rs
github-actions / clippy
`crate` references the macro call's crate
warning: `crate` references the macro call's crate
--> crates/rune-core/src/macros.rs:149:27
|
149 | v => unsafe { crate::core::object::WithLifetime::<'static>::with_lifetime(v) }
| ^^^^^ help: to reference the macro definition's crate, use: `$crate`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#crate_in_macro_def
Check warning on line 103 in crates/rune-core/src/macros.rs
github-actions / clippy
`crate` references the macro call's crate
warning: `crate` references the macro call's crate
--> crates/rune-core/src/macros.rs:103:19
|
103 | let list: crate::core::object::Gc<crate::core::object::List> = match $value {
| ^^^^^ help: to reference the macro definition's crate, use: `$crate`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#crate_in_macro_def
Check warning on line 80 in crates/rune-core/src/macros.rs
github-actions / clippy
`crate` references the macro call's crate
warning: `crate` references the macro call's crate
--> crates/rune-core/src/macros.rs:80:22
|
80 | unsafe { crate::core::gc::IntoRoot::into_root($ident) },
| ^^^^^ help: to reference the macro definition's crate, use: `$crate`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#crate_in_macro_def
Check warning on line 64 in crates/rune-core/src/macros.rs
github-actions / clippy
`crate` references the macro call's crate
warning: `crate` references the macro call's crate
--> crates/rune-core/src/macros.rs:64:57
|
64 | ($msg:literal $(,)? $($args:expr),* $(,)?) => (crate::core::error::EvalError::new_error(anyhow::anyhow!($msg, $($args),*)));
| ^^^^^ help: to reference the macro definition's crate, use: `$crate`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#crate_in_macro_def
Check warning on line 43 in crates/rune-core/src/macros.rs
github-actions / clippy
`crate` references the macro call's crate
warning: `crate` references the macro call's crate
--> crates/rune-core/src/macros.rs:43:22
|
43 | unsafe { crate::core::cons::Cons::new_unchecked(car, cdr) }
| ^^^^^ help: to reference the macro definition's crate, use: `$crate`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#crate_in_macro_def
Check warning on line 13 in crates/rune-core/src/macros.rs
github-actions / clippy
`crate` references the macro call's crate
warning: `crate` references the macro call's crate
--> crates/rune-core/src/macros.rs:13:41
|
13 | impl<'ob> std::convert::TryFrom<crate::object::GcObj<'ob>> for $self {
| ^^^^^ help: to reference the macro definition's crate, use: `$crate`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#crate_in_macro_def
= note: `-W clippy::crate-in-macro-def` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::crate_in_macro_def)]`