Skip to content

Move source_span module to the ergotree-ir crate root;

Sign in for the full log view
This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy failed Jul 24, 2023 in 0s

clippy

2 errors

Details

Results

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

Versions

  • rustc 1.66.1 (90743e729 2023-01-10)
  • cargo 1.66.1 (ad779e08b 2023-01-10)
  • clippy 0.1.66 (90743e7 2023-01-10)

Annotations

Check failure on line 2 in ergotree-interpreter/src/eval/expr.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `ergotree_ir::mir::expr::Span`

error[E0432]: unresolved import `ergotree_ir::mir::expr::Span`
 --> ergotree-interpreter/src/eval/expr.rs:2:5
  |
2 | use ergotree_ir::mir::expr::Span;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Span` in `mir::expr`
  |
help: consider importing one of these items instead
  |
2 | use crate::eval::Span;
  |     ~~~~~~~~~~~~~~~~~~
2 | use ergotree_ir::source_span::Span;
  |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Check failure on line 4 in ergotree-interpreter/src/eval.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `ergotree_ir::mir::expr::Span`

error[E0432]: unresolved import `ergotree_ir::mir::expr::Span`
 --> ergotree-interpreter/src/eval.rs:4:5
  |
4 | use ergotree_ir::mir::expr::Span;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Span` in `mir::expr`
  |
help: consider importing this struct instead
  |
4 | use ergotree_ir::source_span::Span;
  |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~