Skip to content

Move core to workspace crate rune-core #56

Move core to workspace crate rune-core

Move core to workspace crate rune-core #56

GitHub Actions / clippy failed Dec 16, 2023 in 0s

clippy

1 error, 1 warning

Details

Results

Message level Amount
Internal compiler error 0
Error 1
Warning 1
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 12 in crates/rune-core/src/macros.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

`crate` references the macro call's crate

warning: `crate` references the macro call's crate
  --> crates/rune-core/src/macros.rs:12:41
   |
12 |         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 failure on line 4 in crates/rune-core/src/env/symbol.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::env::sym`

error[E0432]: unresolved import `crate::env::sym`
 --> crates/rune-core/src/env/symbol.rs:4:17
  |
4 | use crate::env::sym::BUILTIN_SYMBOLS;
  |                 ^^^ could not find `sym` in `env`