lint: explicit imports in remaining test and module files (S2208)

Replace glob imports (`use super::*`, `use crate::*`, `use sig::*`) with
the names each file uses, in scriptcheck, pdf, render, text and ui-egui.
No code changes.
This commit is contained in:
Dylan M. Taylor
2026-10-26 09:52:51 +07:00
committed by bflatastic
parent 2b72794251
commit 96cd4b1b14
12 changed files with 15 additions and 12 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ mod sig;
pub(crate) use declared::{Declared, declarations};
use features::platform_name;
use sig::*;
use sig::{COMPOUND, LineBreaks, Read, Sig, ends_value, for_in, goes_on_after, goes_on_with, is, member_mark, word};
/// An `#include` line: what it names, its line, and the folders `#includepath` named at that point
/// (one list, shared by every line it applies to).
+2 -1
View File
@@ -1,6 +1,7 @@
//! The names declared, read before the analysis.
use super::*;
use super::sig::{LineBreaks, Read, Sig, for_in, goes_on_after, goes_on_with, is, member_mark, word};
use super::{Acc, Brackets, HashSet, Lexer, T};
/// The names a file's function bodies and its global code declare, read before the analysis. A
/// function's `var` statements and the function declarations directly in its body make the names
+2 -1
View File
@@ -1,6 +1,7 @@
//! The platform features, menu commands and later syntax the analysis recognises.
use super::*;
use super::sig::{NEWER, Sig, is, member_mark, newer_number, unquote, word};
use super::{Analyzer, FeatureId, OutsideId, Pending, T, catalog, report};
/// A global name of the platform the report looks for (`$`, `File`, `Socket`, `alert`, `eval`…).
pub(super) fn platform_name(n: &str) -> bool {