iets-ast-grep
checks.x86_64-linux.ast-grep
· build #183
· raw
1error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path2 ┌─ src/build/render.rs:220:203 │4220 │ let rows = crate::sys::tty::size().map_or(24, |(_, r)| r);5 │ ^^^^^^^^^^^^^^^^^^^^^67error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path8 ┌─ src/display.rs:39:99 │1039 │ crate::sys::tty::size()11 │ ^^^^^^^^^^^^^^^^^^^^^1213error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path14 ┌─ src/display.rs:43:915 │1643 │ crate::sys::tty::cursor()17 │ ^^^^^^^^^^^^^^^^^^^^^^^1819error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path20 ┌─ src/display.rs:47:921 │2247 │ crate::sys::tty::guard_region(top);23 │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^2425error[no-function-level-use]: move this `use` to the top of the module26 ┌─ src/sys/tty.rs:26:527 │ 2825 │ ╭ pub fn cursor() -> Option<(usize, usize)> {2926 │ │ use rustix::termios::{LocalModes, OptionalActions, SpecialCodeIndex, tcgetattr, tcsetattr};30 │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^31 · │3254 │ │ }33 │ ╰─'3435Error: 5 error(s) found in code.36Help: Scan succeeded and found error level diagnostics in the codebase.37