Skip to content

Add macros core module #64

Add macros core module

Add macros core module #64

Triggered via push December 17, 2023 15:58
Status Success
Total duration 4m 44s
Artifacts

test.yml

on: push
ubuntu / stable / minimal-versions
2m 49s
ubuntu / stable / minimal-versions
ubuntu / stable / coverage
3m 25s
ubuntu / stable / coverage
Matrix: os-check
Matrix: required
Fit to window
Zoom out
Zoom in

Annotations

24 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)]`
`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)]`