iets-ast-grep
checks.x86_64-linux.ast-grep
· build #180
· raw
1error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path2 ┌─ src/display.rs:39:153 │439 │ match std::env::var("TERM") {5 │ ^^^^^^^^^^^^^67error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path8 ┌─ src/display.rs:41:189 │1041 │ _ => 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:46:915 │1646 │ 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:50:921 │2250 │ crate::sys::tty::guard_region(top);23 │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^2425error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path26 ┌─ src/build/render.rs:227:2027 │28227 │ let rows = crate::sys::tty::size().map_or(24, |(_, r)| r);29 │ ^^^^^^^^^^^^^^^^^^^^^3031error[no-inline-absolute-paths]: use a `use` import instead of an inline crate::/super::/std:: path32 ┌─ src/build/render.rs:261:1233 │34261 │ if std::mem::replace(&mut self.closed, true) {35 │ ^^^^^^^^^^^^^^^^^3637error[no-function-level-use]: move this `use` to the top of the module38 ┌─ src/sys/tty.rs:26:539 │ 4025 │ ╭ pub fn cursor() -> Option<(usize, usize)> {4126 │ │ use rustix::termios::{LocalModes, OptionalActions, SpecialCodeIndex, tcgetattr, tcsetattr};42 │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^43 · │4454 │ │ }45 │ ╰─'4647Error: 7 error(s) found in code.48Help: Scan succeeded and found error level diagnostics in the codebase.49