Skip to content

Add macros core module (#53) #65

Add macros core module (#53)

Add macros core module (#53) #65

Triggered via push December 17, 2023 16:48
Status Success
Total duration 3m 34s
Artifacts

check.yml

on: push
Matrix: clippy
Matrix: msrv
Fit to window
Zoom out
Zoom in

Annotations

26 warnings
`crate` references the macro call's crate: crates/rune-core/src/macros.rs#L149
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
`crate` references the macro call's crate: crates/rune-core/src/macros.rs#L103
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
`crate` references the macro call's crate: crates/rune-core/src/macros.rs#L80
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
`crate` references the macro call's crate: crates/rune-core/src/macros.rs#L64
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
`crate` references the macro call's crate: crates/rune-core/src/macros.rs#L43
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
`crate` references the macro call's crate: crates/rune-core/src/macros.rs#L13
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)]`
`crate` references the macro call's crate: crates/rune-core/src/macros.rs#L149
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
`crate` references the macro call's crate: crates/rune-core/src/macros.rs#L103
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
`crate` references the macro call's crate: crates/rune-core/src/macros.rs#L80
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
`crate` references the macro call's crate: crates/rune-core/src/macros.rs#L64
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
`crate` references the macro call's crate: crates/rune-core/src/macros.rs#L43
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
`crate` references the macro call's crate: crates/rune-core/src/macros.rs#L13
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)]`
beta / clippy
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/
`crate` references the macro call's crate: crates/rune-core/src/macros.rs#L149
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
`crate` references the macro call's crate: crates/rune-core/src/macros.rs#L103
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
`crate` references the macro call's crate: crates/rune-core/src/macros.rs#L80
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
`crate` references the macro call's crate: crates/rune-core/src/macros.rs#L64
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
`crate` references the macro call's crate: crates/rune-core/src/macros.rs#L43
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
`crate` references the macro call's crate: crates/rune-core/src/macros.rs#L13
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)]`
`crate` references the macro call's crate: crates/rune-core/src/macros.rs#L149
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
`crate` references the macro call's crate: crates/rune-core/src/macros.rs#L103
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
`crate` references the macro call's crate: crates/rune-core/src/macros.rs#L80
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
`crate` references the macro call's crate: crates/rune-core/src/macros.rs#L64
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
`crate` references the macro call's crate: crates/rune-core/src/macros.rs#L43
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
`crate` references the macro call's crate: crates/rune-core/src/macros.rs#L13
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)]`
stable / clippy
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/