iets-ast-grep
checks.x86_64-linux.ast-grep
· build #189
· raw
1error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path2 ┌─ src/display.rs:41:93 │441 │ crate::sys::tty::size()5 │ ^^^^^^^^^^^^^^^^^^^^^67error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path8 ┌─ src/display.rs:45:99 │1045 │ crate::sys::tty::cursor()11 │ ^^^^^^^^^^^^^^^^^^^^^^^1213error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path14 ┌─ src/display.rs:49:915 │1649 │ crate::sys::tty::guard_region(top);17 │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^1819error[no-function-level-use]: move this `use` to the top of the module20 ┌─ src/sys/tty.rs:26:521 │ 2225 │ ╭ pub fn cursor() -> Option<(usize, usize)> {2326 │ │ use rustix::termios::{LocalModes, OptionalActions, SpecialCodeIndex, tcgetattr, tcsetattr};24 │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^25 · │2654 │ │ }27 │ ╰─'2829error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path30 ┌─ src/build/render.rs:220:2031 │32220 │ let rows = crate::sys::tty::size().map_or(24, |(_, r)| r);33 │ ^^^^^^^^^^^^^^^^^^^^^3435Error: 5 error(s) found in code.36Help: Scan succeeded and found error level diagnostics in the codebase.37