Skip to content

[test-hygiene] issue3255 钉文件在 cfg(unix) mod interactive 内 use super::* 未使用,整树 -D warnings 检查硬错(#3772/#3776 同类) #3789

Closed

Description

@caomengxuan666

缺陷

tests/issue3255_histexpand_prefix_invocation_name.rs:117(#[cfg(unix)] mod interactive 内)use super::*; 在该 mod 内无任何引用。整树 RUSTFLAGS="-D warnings" cargo check --tests --keep-going 在此硬错(error: unused import: super::*``),与 #3772(#3775 修)/#3776(#3778 修)同类。

发现

#3781(#3779 普查 17 处)rebase 到 154a95a 后 Linux 腿的唯一诊断即此一处;该文件与基底字节一致(blob sha 6927ea87… 两边相同),属上游带入、非 #3781 所碰。master 自身 census 同样红。#3781 已按队长裁决照常合入,本单另立。

修法

删该行 import 一行(+0/−1),其余不动;钉语义不动。须以 cargo check --locked --tests(Linux 腿)+ Windows compile check 复核。

P3-low

Activity

  1. added this to the 1.5.1 milestone on Nov 16, 2026
  2. added
    bug
    on Nov 16, 2026
  3. added
    P3-low
    area:builtins
    on Nov 16, 2026
  4. caomengxuan666 commented on Nov 16, 2026

    @caomengxuan666
    MemberAuthor

    队长车道临时接手(Uarz 休息期间):已开工修复本单。工作区 fix-3789,分支 fix/3789-issue3255-unused-import,基底 c3bf91e。修法:删 tests/issue3255_histexpand_prefix_invocation_name.rs:117 的 use super::*; 一行(+0/−1),其余不动;随后走 Linux(box)+ Windows(X299)双腿复核。

  5. caomengxuan666 commented on Nov 16, 2026

    @caomengxuan666
    MemberAuthor

    续作车道接手:前任车道被执行超时中断,修法提交 663e5fc 与草稿 PR #3794 已交付;我续跑验证腿(Linux -D warnings 检查 + issue3255 茎 + Windows compile-check),补 REPORT。不改修法。

  6. caomengxuan666 commented on Nov 16, 2026

    @caomengxuan666
    MemberAuthor

    Closed by hand after PR #3794 merged (5c94939). One-line test-hygiene fix verified: -D warnings zero diagnostics, fail-first measured (re-insert rc=101 unused import, remove rc=0), CI run 43891613162 all green except goldens 2 cells + census baseline (issue3255 stem 5/6, the single red cell is the pre-existing pin bug now tracked in #3800).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

P3-lowarea:builtinsbug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions