AI Slop Code RIsk Monitor

rust-lang/rust

Empowering everyone to build reliable and efficient software.

6.4 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for rust-lang/rust, a Rust project with 119,642 GitHub stars. SynthScan examined 4,144,285 lines of code across 42115 source files, recording 28335 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 6.4 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

6.4
Adjusted Signal
6.4
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
119.6K
Stars
Rust
Language
4.1M
Lines of Code
42.1K
Files
28.3K
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 24.8/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 27509 finding(s).

Hallucinated Dependency & Supply Chain Risk 2.1/100 · LOW

Are imports declared and package/API names verified? 495 finding(s).

Agent Over-Engineering Ratio 1.6/100 · LOW

Are wrappers, guards, and repeated structures necessary? 374 finding(s).

PR Review Velocity Impact 30.6/100 · MEDIUM

Which changes need focused human review? 28335 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 96HIGH 26MEDIUM 446LOW 27767

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 28335 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block27112 hits · 22694 pts
SeverityFileLineSnippetContext
LOWCargo.toml81codegen-units = 1COMMENT
LOWREUSE.toml1version = 1COMMENT
LOWtriagebot.toml1901# Allow members to formally register concerns (`@rustbot concern my concern`)COMMENT
LOWbootstrap.example.toml1# Sample TOML configuration file for building Rust.COMMENT
LOWbootstrap.example.toml21# Global SettingsCOMMENT
LOWbootstrap.example.toml41# you can visit github.com/rust-lang/rust/pull/{change-id} to check for more details.COMMENT
LOWbootstrap.example.toml61# Set this to `true` to download if CI llvm available otherwise it buildsCOMMENT
LOWbootstrap.example.toml81# only succeed if you use clang, lld, llvm-ar, and llvm-ranlib in your C/C++COMMENT
LOWbootstrap.example.toml101#llvm.plugins = falseCOMMENT
LOWbootstrap.example.toml121#llvm.ninja = trueCOMMENT
LOWbootstrap.example.toml141# If set to 0, linker invocations are treated like any other job andCOMMENT
LOWbootstrap.example.toml161#llvm.cxxflags = ""COMMENT
LOWbootstrap.example.toml181COMMENT
LOWbootstrap.example.toml201# `<libgccjit-libs-dir>/<host>/<target>/libgccjit.so`.COMMENT
LOWbootstrap.example.toml221COMMENT
LOWbootstrap.example.toml241# The default stage to use for the `install` subcommandCOMMENT
LOWbootstrap.example.toml261#build.description = ""COMMENT
LOWbootstrap.example.toml281COMMENT
LOWbootstrap.example.toml301# specified, use this rustc binary instead as the stage0 snapshot compiler.COMMENT
LOWbootstrap.example.toml321# Whether to build documentation by default. If false, rustdoc andCOMMENT
LOWbootstrap.example.toml341# Indicate whether git submodules are managed and updated automatically.COMMENT
LOWbootstrap.example.toml361COMMENT
LOWbootstrap.example.toml381#COMMENT
LOWbootstrap.example.toml401# then you can set this option to true.COMMENT
LOWbootstrap.example.toml421# If `extended = false`, the only one of these built by default is rustdoc.COMMENT
LOWbootstrap.example.toml441#COMMENT
LOWbootstrap.example.toml461# so that `compiler-rt` sources are available.COMMENT
LOWbootstrap.example.toml481#build.configure-args = []COMMENT
LOWbootstrap.example.toml501# a Nix toolchain on non-NixOS distributions.COMMENT
LOWbootstrap.example.toml521# Whether to allow `compiletest` self-tests and `compiletest`-managed testCOMMENT
LOWbootstrap.example.toml541#build.ccache = falseCOMMENT
LOWbootstrap.example.toml561# If this is a relative path, it will get installed in `prefix` aboveCOMMENT
LOWbootstrap.example.toml581# =============================================================================COMMENT
LOWbootstrap.example.toml601# slower (due to e.g. checking of debug assertions) but should remainCOMMENT
LOWbootstrap.example.toml621COMMENT
LOWbootstrap.example.toml641COMMENT
LOWbootstrap.example.toml661#COMMENT
LOWbootstrap.example.toml681COMMENT
LOWbootstrap.example.toml701COMMENT
LOWbootstrap.example.toml721# is platform dependent.COMMENT
LOWbootstrap.example.toml741# setting.COMMENT
LOWbootstrap.example.toml761#rust.musl-root = <platform specific> (path)COMMENT
LOWbootstrap.example.toml781COMMENT
LOWbootstrap.example.toml801# Having the git information can cause a lot of rebuilds during development.COMMENT
LOWbootstrap.example.toml821# a dist component/tarball for the Cranelift backend if it is included in this array.COMMENT
LOWbootstrap.example.toml841# Indicates whether some LLVM tools, like llvm-objdump, will be made available in theCOMMENT
LOWbootstrap.example.toml861# will make code compile faster at the expense of lower runtime performance.COMMENT
LOWbootstrap.example.toml881#rust.llvm-libunwind = 'no'COMMENT
LOWbootstrap.example.toml901# limit (65 bytes).COMMENT
LOWbootstrap.example.toml921# - If building for a zkvm target, "compiler-builtins-mem" will be added.COMMENT
LOWbootstrap.example.toml941# If unset, the first upstream parent commit will be used.COMMENT
LOWbootstrap.example.toml961#COMMENT
LOWbootstrap.example.toml981#dist.upload-addr = <none> (URL)COMMENT
LOWbootstrap.example.toml1001# Copy the linker, DLLs, and various libraries from MinGW into the Rust toolchain.COMMENT
LOWbootstrap.example.toml1021# Use the following profile to PGO optimize rustdoc.COMMENT
LOWbootstrap.example.toml1041# Use the following profile to PGO optimize the Cranelift codegen backend.COMMENT
LOWbootstrap.example.toml1061# C++ compiler to be used to compile C++ code (e.g. LLVM and our LLVM shims).COMMENT
LOWbootstrap.example.toml1081# is platform dependent.COMMENT
LOWbootstrap.example.toml1101# Compress debuginfo for Rust and C/C++ code of this target.COMMENT
LOWbootstrap.example.toml1121COMMENT
27052 more matches not shown…
Decorative Section Separators293 hits · 1197 pts
SeverityFileLineSnippetContext
MEDIUMtriagebot.toml5# ------------------------------------------------------------------------------COMMENT
MEDIUMtriagebot.toml7# ------------------------------------------------------------------------------COMMENT
MEDIUMtriagebot.toml74# ------------------------------------------------------------------------------COMMENT
MEDIUMtriagebot.toml76# ------------------------------------------------------------------------------COMMENT
MEDIUMtriagebot.toml211# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml213# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml680# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml682# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml722# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml724# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml1032# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml1034# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml1628# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml1630# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml1869# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml1871# ------------------------------------------------------------------------------STRING
MEDIUM⚡bootstrap.example.toml52# =============================================================================COMMENT
MEDIUM⚡bootstrap.example.toml54# =============================================================================COMMENT
MEDIUMbootstrap.example.toml20# =============================================================================COMMENT
MEDIUMbootstrap.example.toml22# =============================================================================COMMENT
MEDIUMbootstrap.example.toml188# =============================================================================COMMENT
MEDIUMbootstrap.example.toml190# =============================================================================COMMENT
MEDIUMbootstrap.example.toml222# =============================================================================COMMENT
MEDIUMbootstrap.example.toml224# =============================================================================COMMENT
MEDIUMbootstrap.example.toml553# =============================================================================COMMENT
MEDIUMbootstrap.example.toml555# =============================================================================COMMENT
MEDIUMbootstrap.example.toml579# =============================================================================COMMENT
MEDIUMbootstrap.example.toml581# =============================================================================COMMENT
MEDIUMbootstrap.example.toml959# =============================================================================COMMENT
MEDIUMbootstrap.example.toml964# =============================================================================COMMENT
MEDIUMbootstrap.example.toml1009# =============================================================================COMMENT
MEDIUMbootstrap.example.toml1014# =============================================================================COMMENT
MEDIUMbootstrap.example.toml1047# =============================================================================COMMENT
MEDIUMbootstrap.example.toml1052# =============================================================================COMMENT
MEDIUM⚡library/core/src/fmt/mod.rs294 /// ┌───┬───────┬───┬───┬───┬───┬───┬───┬───┬───┬──────────────────────────────────┐COMMENT
MEDIUM⚡library/core/src/fmt/mod.rs296 /// └───┴───────┴───┴───┴───┴───┴───┴───┴───┴───┴──────────────────────────────────┘COMMENT
MEDIUM⚡library/core/src/fmt/mod.rs297 /// │ │ │ │ └─┬───────────────────┘ └─┬──────────────────────────────┘COMMENT
MEDIUM⚡library/core/src/fmt/mod.rs615// ┌────────────────────────────────┐COMMENT
MEDIUM⚡library/core/src/fmt/mod.rs617// ├──────────────────────────────┬─┤COMMENT
MEDIUM⚡library/core/src/fmt/mod.rs619// └──────────────────────────────┴─┘COMMENT
MEDIUM⚡library/core/src/fmt/mod.rs627// ┌────────────────────────────────┐COMMENT
MEDIUM⚡library/core/src/fmt/mod.rs629// ├────────────────────────────────┤COMMENT
MEDIUM⚡library/core/src/fmt/mod.rs631// └────────────────────────────────┘COMMENT
MEDIUM⚡library/core/src/fmt/mod.rs650// ┌───┬────────────────────────────┐COMMENT
MEDIUM⚡library/core/src/fmt/mod.rs652// └───┴────────────────────────────┘COMMENT
MEDIUM⚡library/core/src/fmt/mod.rs656// ┌────┬─────────┬───────────────────────────┐COMMENT
MEDIUM⚡library/core/src/fmt/mod.rs658// └────┴─────────┴───────────────────────────┘COMMENT
MEDIUM⚡library/core/src/fmt/mod.rs665// ┌──────────┬┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┬┄┄┄┄┄┄┄┄┄┄┄┬┄┄┄┄┄┄┄┄┄┄┄┬┄┄┄┄┄┄┄┄┄┄┄┐COMMENT
MEDIUM⚡library/core/src/fmt/mod.rs667// └────││││││┴┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┴┄┄┄┄┄┄┄┄┄┄┄┴┄┄┄┄┄┄┄┄┄┄┄┴┄┄┄┄┄┄┄┄┄┄┄┘COMMENT
MEDIUMlibrary/core/src/fmt/mod.rs680// ┌──────────┐COMMENT
MEDIUMlibrary/core/src/fmt/mod.rs682// └──────────┘COMMENT
MEDIUM⚡library/std/src/sys/sync/rwlock/queue.rs81//! ╭───────╮ next ╭───────╮ next ╭───────╮ next ╭───────╮COMMENT
MEDIUM⚡library/std/src/sys/sync/rwlock/queue.rs82//! │ ├─────►│ ├─────►│ ├─────►│ count │COMMENT
MEDIUM⚡library/std/src/sys/sync/rwlock/queue.rs84//! │ │ │ │◄─────┤ │◄─────┤ │COMMENT
MEDIUM⚡library/std/src/sys/sync/rwlock/queue.rs85//! ╰───────╯ ╰───────╯ prev ╰───────╯ prev ╰───────╯COMMENT
MEDIUM⚡library/std/src/sys/sync/rwlock/queue.rs87//! └───────────────────────────┘COMMENT
MEDIUM…er/rustc_codegen_cranelift/scripts/test_rustc_tests.sh26# ================COMMENT
MEDIUM…er/rustc_codegen_cranelift/scripts/test_rustc_tests.sh97# ==================COMMENT
MEDIUM…er/rustc_codegen_cranelift/scripts/test_rustc_tests.sh105# ======================COMMENT
MEDIUM…er/rustc_codegen_cranelift/scripts/test_rustc_tests.sh122# =============================================COMMENT
233 more matches not shown…
Hallucination Indicators96 hits · 1108 pts
SeverityFileLineSnippetContext
CRITICALtests/codegen-llvm/const-vector.rs52 // CHECK: call <2 x i8> @llvm.vector.partial.reduce.add.v2i8.v2i8(<2 x i8> <i8 32, i8 64>, <2 x i8> <i8 8, i8 16COMMENT
CRITICALtests/codegen-llvm/inject-autocast.rs50 // CHECK: [[A:%[0-9]+]] = call { <2 x i1>, <2 x i1> } @llvm.x86.avx512.vp2intersect.q.128(<2 x i64> {{.*}}, <2 x i64COMMENT
CRITICAL⚡tests/codegen-llvm/inject-autocast.rs98 // CHECK: [[A:%[0-9]+]] = call x86_amx @llvm.x86.cast.vector.to.tile.v1024i8(<1024 x i8> {{.*}})COMMENT
CRITICAL⚡tests/codegen-llvm/inject-autocast.rs99 // CHECK: [[B:%[0-9]+]] = call x86_amx @llvm.x86.cast.vector.to.tile.v1024i8(<1024 x i8> {{.*}})COMMENT
CRITICAL⚡tests/codegen-llvm/inject-autocast.rs100 // CHECK: [[C:%[0-9]+]] = call x86_amx @llvm.x86.cast.vector.to.tile.v1024i8(<1024 x i8> {{.*}})COMMENT
CRITICAL⚡tests/codegen-llvm/inject-autocast.rs102 // CHECK: call <1024 x i8> @llvm.x86.cast.tile.to.vector.v1024i8(x86_amx [[D]])COMMENT
CRITICAL⚡tests/codegen-llvm/inject-autocast.rs108// CHECK: declare { <2 x i1>, <2 x i1> } @llvm.x86.avx512.vp2intersect.q.128(<2 x i64>, <2 x i64>)COMMENT
CRITICAL⚡tests/codegen-llvm/inject-autocast.rs116// CHECK: declare x86_amx @llvm.x86.cast.vector.to.tile.v1024i8(<1024 x i8>)COMMENT
CRITICAL⚡tests/codegen-llvm/inject-autocast.rs118// CHECK: declare <1024 x i8> @llvm.x86.cast.tile.to.vector.v1024i8(x86_amx)COMMENT
CRITICALcompiler/rustc_codegen_cranelift/src/main_shim.rs69 let entry_name = tcx.sess.target.options.entry_name.as_ref();CODE
CRITICALcompiler/rustc_codegen_cranelift/src/driver/aot.rs62 tcx.sess.opts.unstable_opts.function_sections.unwrap_or(default_function_sections),CODE
CRITICALcompiler/rustc_codegen_cranelift/src/abi/mod.rs906 let exception_table = fx.bcx.func.dfg.exception_tables.push(ExceptionTableData::new(CODE
CRITICALcompiler/rustc_codegen_cranelift/src/intrinsics/mod.rs1434 fx.bcx.func.dfg.exception_tables.push(ExceptionTableData::new(CODE
CRITICALcompiler/rustc_codegen_gcc/src/consts.rs311 !(self.tcx.sess.opts.cg.linker_plugin_lto.enabled()CODE
CRITICALcompiler/rustc_resolve/src/diagnostics/impls.rs2376 if self.tcx.sess.opts.externs.get(ident.as_str()).is_some()CODE
CRITICALcompiler/rustc_resolve/src/diagnostics/impls.rs3155 let crate_is_available = self.tcx.sess.opts.externs.get(ident.as_str()).is_some();CODE
CRITICALcompiler/rustc_infer/src/infer/snapshot/fudge.rs192 let idx = vid.as_usize() - self.snapshot_vars.type_vars.0.start.as_usize();CODE
CRITICALcompiler/rustc_infer/src/infer/snapshot/fudge.rs216 let idx = vid.as_usize() - self.snapshot_vars.float_vars.0.start.as_usize();CODE
CRITICALcompiler/rustc_infer/src/infer/snapshot/fudge.rs238 let idx = vid.index() - self.snapshot_vars.region_vars.0.start.index();CODE
CRITICALcompiler/rustc_infer/src/infer/snapshot/fudge.rs254 let idx = vid.index() - self.snapshot_vars.const_vars.0.start.index();CODE
CRITICALcompiler/rustc_query_impl/src/execution.rs295 if tcx.sess.opts.jobs.frontend.is_some() {CODE
CRITICAL⚡compiler/rustc_mir_transform/src/inline.rs369 tcx.sess.opts.unstable_opts.inline_mir_forwarder_threshold.unwrap_or(30)CODE
CRITICAL⚡compiler/rustc_mir_transform/src/inline.rs371 tcx.sess.opts.unstable_opts.inline_mir_hint_threshold.unwrap_or(100)CODE
CRITICAL⚡compiler/rustc_mir_transform/src/inline.rs373 tcx.sess.opts.unstable_opts.inline_mir_threshold.unwrap_or(50)CODE
CRITICALcompiler/rustc_hir_typeck/src/expr.rs651 if !tcx.sess.opts.unstable_opts.offload.is_empty()CODE
CRITICALcompiler/rustc_hir_typeck/src/fn_ctxt/checks.rs2393 self.arg_matching_ctxt.args_ctxt.call_ctxt.fn_ctxt.label_fn_like(CODE
CRITICALcompiler/rustc_hir_typeck/src/fn_ctxt/suggestions.rs1471 self.tcx.sess.psess.complete_stmt_exprs_before_bin_op_lookalike.borrow().get(&sp)CODE
CRITICALcompiler/rustc_codegen_llvm/src/consts.rs434 && !self.tcx.sess.opts.cg.linker_plugin_lto.enabled();CODE
CRITICALcompiler/rustc_codegen_llvm/src/consts.rs439 !(self.tcx.sess.opts.cg.linker_plugin_lto.enabled()CODE
CRITICALcompiler/rustc_codegen_llvm/src/intrinsic.rs230 if tcx.sess.opts.unstable_opts.offload.is_empty() {CODE
CRITICALcompiler/rustc_codegen_llvm/src/intrinsic.rs1489 if bx.cx.tcx.sess.target.supports_comdat() {CODE
CRITICALcompiler/rustc_codegen_llvm/src/intrinsic.rs1832 if !tcx.sess.opts.unstable_opts.autodiff.contains(&rustc_session::config::AutoDiff::Enable) {CODE
CRITICALcompiler/rustc_codegen_llvm/src/intrinsic.rs1843 if lto != rustc_session::config::Lto::Fat && !tcx.sess.opts.cg.linker_plugin_lto.enabled() {CODE
CRITICALcompiler/rustc_codegen_llvm/src/attributes.rs364 if tcx.sess.opts.cg.profile_generate.enabled() {CODE
CRITICALcompiler/rustc_codegen_llvm/src/typetree.rs83 if !tcx.sess.opts.unstable_opts.autodiff.contains(&rustc_session::config::AutoDiff::Enable) {CODE
CRITICALcompiler/rustc_codegen_llvm/src/typetree.rs86 if tcx.sess.opts.unstable_opts.autodiff.contains(&rustc_session::config::AutoDiff::NoTT) {CODE
CRITICALcompiler/rustc_codegen_llvm/src/declare.rs78 if cx.tcx.sess.opts.cg.no_redzone.unwrap_or(cx.tcx.sess.target.disable_redzone) {CODE
CRITICAL⚡compiler/rustc_codegen_llvm/src/builder.rs2057 let is_diag = self.tcx.sess.opts.unstable_opts.sanitizer_cfi_diag.unwrap_or(false);CODE
CRITICAL⚡compiler/rustc_codegen_llvm/src/builder.rs2059 self.tcx.sess.opts.unstable_opts.sanitizer_cfi_recover.unwrap_or(false);CODE
CRITICAL⚡compiler/rustc_codegen_llvm/src/builder.rs2061 self.tcx.sess.opts.unstable_opts.sanitizer_cfi_minimal_runtime.unwrap_or(false);CODE
CRITICALcompiler/rustc_codegen_llvm/src/context.rs683 let sanitizer_ignorelist = if !tcx.sess.opts.unstable_opts.sanitizer_ignorelist.is_empty() {CODE
CRITICALcompiler/rustc_codegen_llvm/src/back/llvm_backend.rs339 if tcx.sess.opts.unstable_opts.offload.iter().any(|o| matches!(o, Offload::Device(_)))CODE
CRITICALcompiler/rustc_codegen_llvm/src/back/llvm_backend.rs340 || tcx.sess.opts.unstable_opts.offload.iter().any(|o| matches!(o, Offload::Host(_)))CODE
CRITICALcompiler/rustc_metadata/src/creader.rs1070 tcx.sess.instrument_coverage() || tcx.sess.opts.cg.profile_generate.enabled();CODE
CRITICALcompiler/rustc_metadata/src/rmeta/encoder.rs858 extra_filename: self.tcx.sess.opts.cg.extra_filename.clone(),CODE
CRITICALcompiler/rustc_metadata/src/rmeta/encoder.rs2609 if tcx.sess.opts.jobs.frontend.is_some() {CODE
CRITICALcompiler/rustc_metadata/src/rmeta/decoder.rs452 self.tcx.sess.psess.attr_id_generator.mk_attr_id()CODE
CRITICALcompiler/rustc_metadata/src/rmeta/decoder.rs1765 tcx.sess.opts.unstable_opts.simulate_remapped_rust_src_base.as_deref(),CODE
CRITICAL⚡compiler/rustc_middle/src/queries.rs2617 desc { "normalizing `{}`", goal.canonical.value.value.value.skip_normalization() }CODE
CRITICAL⚡compiler/rustc_middle/src/queries.rs2627 desc { "normalizing `{:?}`", goal.canonical.value.value.value.skip_normalization() }CODE
CRITICAL⚡compiler/rustc_middle/src/queries.rs2637 desc { "normalizing `{:?}`", goal.canonical.value.value.value.skip_normalization() }CODE
CRITICAL⚡compiler/rustc_middle/src/queries.rs2647 desc { "normalizing `{:?}`", goal.canonical.value.value.value.skip_normalization() }CODE
CRITICALcompiler/rustc_middle/src/ty/layout.rs1330 if !tcx.sess.opts.unstable_opts.panic_in_drop.unwinds()CODE
CRITICALcompiler/rustc_middle/src/ty/typetree.rs14 if tcx.sess.opts.unstable_opts.autodiff.contains(&rustc_session::config::AutoDiff::NoTT) {CODE
CRITICALcompiler/rustc_middle/src/ty/typetree.rs44 if !tcx.sess.opts.unstable_opts.autodiff.contains(&rustc_session::config::AutoDiff::Enable) {CODE
CRITICALcompiler/rustc_middle/src/ty/typetree.rs47 if tcx.sess.opts.unstable_opts.autodiff.contains(&rustc_session::config::AutoDiff::NoTT) {CODE
CRITICALcompiler/rustc_middle/src/ty/context.rs1158 || self.sess.opts.unstable_opts.metrics_dir.is_some()CODE
CRITICALcompiler/rustc_middle/src/mir/pretty.rs61 Self { include_extra_comments: tcx.sess.opts.unstable_opts.mir_include_spans.is_enabled() }CODE
CRITICALcompiler/rustc_expand/src/expand.rs655 if self.cx.sess.opts.incremental.is_some() {CODE
CRITICALcompiler/rustc_monomorphize/src/collector.rs1490 if let Some(manifest_path) = tcx.sess.opts.unstable_opts.offload.iter().find_map(|o| {CODE
36 more matches not shown…
Fake / Example Data375 hits · 657 pts
SeverityFileLineSnippetContext
LOWtypos.toml13 # generated lorem ipsum textsCOMMENT
LOWtests/ui/test-attrs/test-on-not-fn.rs13 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt utCODE
LOWtests/ui/test-attrs/test-on-not-fn.rs13 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt utCODE
LOWtests/rustdoc-gui/src/lib2/lib.rs125 /// This also has a really long doccomment. Lorem ipsum dolor sit amet,COMMENT
LOWtests/rustdoc-gui/src/lib2/lib.rs125 /// This also has a really long doccomment. Lorem ipsum dolor sit amet,COMMENT
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-2.rs3 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-2.rs3 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-2.rs4 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-2.rs4 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-2.rs5 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-2.rs5 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-2.rs6 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-2.rs6 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-2.rs7 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-2.rs7 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-2.rs8 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-2.rs8 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-2.rs9 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-2.rs9 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-2.rs10 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-2.rs10 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-2.rs11 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-2.rs11 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-2.rs12 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-2.rs12 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-3.rs4 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-3.rs4 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-3.rs5 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-3.rs5 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-3.rs6 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-3.rs6 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-3.rs7 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-3.rs7 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-3.rs8 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-3.rs8 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-3.rs9 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-3.rs9 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-3.rs10 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-3.rs10 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-3.rs11 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-3.rs11 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-3.rs12 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-3.rs12 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-3.rs13 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡…stdoc-gui/src/scrape_examples/examples/check-many-3.rs13 scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inciCODE
LOW⚡tests/rustdoc-gui/src/test_docs/lib.rs419 /// | Lorem Ipsum, Lorem Ipsum | Lorem Ipsum, Lorem Ipsum |COMMENT
LOW⚡tests/rustdoc-gui/src/test_docs/lib.rs420 /// | Lorem Ipsum, Lorem Ipsum | Lorem Ipsum, Lorem Ipsum |COMMENT
LOW⚡tests/rustdoc-gui/src/test_docs/lib.rs421 /// | Lorem Ipsum, Lorem Ipsum | Lorem Ipsum, Lorem Ipsum |COMMENT
LOW⚡tests/rustdoc-gui/src/test_docs/lib.rs422 /// | Lorem Ipsum, Lorem Ipsum | Lorem Ipsum, Lorem Ipsum |COMMENT
LOW⚡tests/rustdoc-gui/src/test_docs/lib.rs430 /// | Lorem Ipsum, Lorem Ipsum | Lorem Ipsum, Lorem Ipsum |COMMENT
LOWtests/rustdoc-gui/src/test_docs/lib.rs670 //! * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque et libero ut leoCOMMENT
LOWtests/rustdoc-gui/src/test_docs/lib.rs670 //! * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque et libero ut leoCOMMENT
LOWlibrary/coretests/benches/pattern.rs44 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse quis lorem \CODE
LOWlibrary/coretests/benches/pattern.rs44 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse quis lorem \CODE
LOWlibrary/coretests/benches/hash/sip.rs47 let s = "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor \CODE
LOWlibrary/coretests/benches/hash/sip.rs47 let s = "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor \CODE
LOWlibrary/std/src/fs.rs427/// fs::write("foo.txt", b"Lorem ipsum")?;COMMENT
LOWlibrary/alloctests/tests/str.rs729 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse quis lorem \CODE
LOWlibrary/alloctests/tests/str.rs729 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse quis lorem \CODE
LOW⚡library/alloctests/benches/str.rs122 let haystack = "Lorem ipsum dolor sit amet, consectetur adipiscing elit.";CODE
315 more matches not shown…
AI Slop Vocabulary112 hits · 328 pts
SeverityFileLineSnippetContext
LOWREUSE.toml9# just set a blanket license and copyright notice for a whole sub-tree at aCOMMENT
MEDIUMbootstrap.example.toml789# Prints each test name as it is executed, to help debug issues in the test harness itself.COMMENT
MEDIUMbootstrap.example.toml1115# in conjunction with either an llvm-config or build.submodules = false.COMMENT
MEDIUMtests/ui/argument-suggestions/invalid_arguments.rs1// More nuanced test cases for invalid arguments #65853COMMENT
MEDIUMtests/ui/privacy/sysroot-private.rs4//! This test would be more robust if we could patch the sysroot with an "evil" crate thatCOMMENT
MEDIUMtests/ui/privacy/sysroot-private.rs7//! of `std`'s dependencies, but may not be robust against dependency upgrades/changes.COMMENT
MEDIUMtests/ui/associated-types/issue-47139-2.rs7// In an effort to make the regr test more robust, I am including bothCOMMENT
MEDIUMtests/ui/layout/trivial-bounds-sized.rs39// FIXME: This could be made more robust, possibly with a variant of `rustc_dump_layout`COMMENT
MEDIUM…/repeat-expr/can-have-side-effects-consider-element.rs16 () => drop([return; 1]), // Definitely has side effectsCODE
MEDIUMtests/ui/sanitizer/thread.rs10// is necessary to make the test robust. Without the barrier data race detectionCOMMENT
MEDIUM…sts/ui/attributes/reexport-test-harness-entry-point.rs1//! Check that `#[reexport_test_harness_main]` correctly reexports the test harness entry pointCOMMENT
MEDIUM…ts/ui/binop/can-have-side-effects-consider-operands.rs16 () => drop(5 % calls_are_considered_side_effects()), // Definitely has side effectsCODE
MEDIUMtests/rustdoc-js/auxiliary/emptytype.rs18// robust, in the sense that it actually tests the code and isn't magicallyCOMMENT
MEDIUMtests/debuginfo/basic-stepping.rs14// be optimized away. To make regression testing more robust, we also want toCOMMENT
MEDIUM…doc-html/assoc/cross-crate-hidden-assoc-trait-items.rs11// (by counting the number of `section`s). This is more robust and future-proof.COMMENT
MEDIUM…stdoc-html/inline_cross/ret-pos-impl-trait-in-trait.rs8// This is more robust than checking for the absence of the associated type.COMMENT
MEDIUMtests/mir-opt/jump_threading.rs518/// Verify that we can leverage the existence of an `Assume` terminator.COMMENT
MEDIUMlibrary/alloc/src/str.rs495 /// Essentially, this consists of uppercasing the first cased letterCOMMENT
MEDIUMlibrary/alloc/src/boxed.rs1509 // As of August 2026, we cannot utilize `Box::leak`COMMENT
MEDIUMlibrary/alloc/src/fmt.rs61//! Essentially, parameters that explicitly name their argument do not affectCOMMENT
MEDIUMlibrary/alloc/src/fmt.rs72//! leverage named parameters. Named parameters are listed at the end of theCOMMENT
MEDIUMlibrary/alloc/src/raw_vec/mod.rs905 /// prevent double-free or use-after-free. Essentially, do not do anything with the callerCOMMENT
MEDIUMlibrary/alloc/src/io/buffered/bufreader.rs449 // If `buf` is empty--the most common case--we can leverage `append_to_string`COMMENT
MEDIUMlibrary/core/src/pin.rs1965// Furthermore, in the case of `Clone`, cloning a `Pin<Pin<P>>` will utilizeCOMMENT
MEDIUMlibrary/core/src/asserting.rs5// 'specialization' is robust enough (5 years? 10 years? Never?), `Capture` can be specializedCOMMENT
MEDIUMlibrary/core/src/slice/sort/mod.rs1//! This module and the contained sub-modules contains the code for efficient and robust sortCOMMENT
MEDIUMlibrary/core/src/slice/sort/unstable/quicksort.rs143 // have large leverage e.g. `u64` and `String`.COMMENT
MEDIUMlibrary/core/src/io/error.rs761/// tests more robust. In particular, if you want to verify that your code doesCOMMENT
MEDIUMlibrary/core/src/io/error.rs762/// produce an unrecognized error kind, the robust solution is to check for allCOMMENT
MEDIUMlibrary/core/src/num/imp/flt2dec/strategy/grisu.rs447 // i.e., `plus1 - plus1w(n) <= minus0` or `plus1 - plus1w(n) >= plus0`. we utilize the factsCOMMENT
MEDIUMlibrary/core/src/ffi/c_str.rs35/// Instead, safe wrappers of FFI functions may leverage [`CStr::as_ptr`] and the unsafeCOMMENT
MEDIUMlibrary/core/src/ffi/c_str.rs107 // this an unsized type. Essentially `sizeof(&CStr)` should be theCOMMENT
MEDIUMlibrary/core/src/ptr/const_ptr.rs90 /// pointers. The pointer is cast to a sized pointee to utilize offset operations and thenCOMMENT
MEDIUMlibrary/core/src/ptr/mut_ptr.rs73 /// pointers. The pointer is cast to a sized pointee to utilize offset operations and thenCOMMENT
MEDIUMlibrary/core/src/ptr/mod.rs2376 // sufficiently for LLVM to be able to utilize the various optimizations it knows about.COMMENT
MEDIUMlibrary/test/src/stats.rs21 /// [paper]: https://www.cs.cmu.edu/~quake-papers/robust-arithmetic.psCOMMENT
MEDIUM⚡library/test/src/stats.rs52 /// Note: this is not a robust statistic for non-normal distributions. Prefer theCOMMENT
MEDIUM⚡library/test/src/stats.rs60 /// Note: this is not a robust statistic for non-normal distributions. Prefer theCOMMENT
MEDIUM⚡library/test/src/stats.rs65 /// robust (distribution-agnostic) estimator of sample variability. Use this in preference toCOMMENT
MEDIUMlibrary/std/src/net/socket_addr/tests.rs136 // This form of the test is more robust: even when the DNS serverCOMMENT
MEDIUMlibrary/std/src/sys/sync/once/queue.rs181 // fast path. Essentially, this should help generate more straight line codeCOMMENT
MEDIUMlibrary/std/src/sys/fs/unix.rs1910 // These platforms support `fchmodat`, so utilize this syscall over `open` + `fchmod`.COMMENT
MEDIUMlibrary/std/src/ffi/os_str.rs401 /// # process_data("123").expect("why is the test harness OOMing on 3 bytes?");COMMENT
MEDIUMlibrary/std/src/ffi/os_str.rs472 /// # process_data("123").expect("why is the test harness OOMing on 3 bytes?");COMMENT
MEDIUMlibrary/std/src/collections/mod.rs184//! are a powerful and robust mechanism used throughout Rust'sCOMMENT
MEDIUMlibrary/std/src/fs/dirs.rs7/// user, nor that there is a directory at that path. A robust applicationCOMMENT
MEDIUMlibrary/std/src/fs/dirs.rs33/// user, nor that there is a directory at that path. A robust applicationCOMMENT
MEDIUMlibrary/std/src/fs/dirs.rs79 /// may not, depending on system configuration. A robust applicationCOMMENT
LOWlibrary/compiler-builtins/ci/ci-util.py425 # just use `--limit=1`, jq filtering happens after limiting. We alsoCOMMENT
LOWlibrary/compiler-builtins/ci/ci-util.py426 # cannot just use `--workflow` because GH gets confused fromCOMMENT
LOWlibrary/compiler-builtins/.github/workflows/main.yaml196 # Non-linux tests just use our raw scriptCOMMENT
MEDIUMlibrary/compiler-builtins/libm-test/Cargo.toml75# No harness so that we can skip tests at runtime based on env. Prefixed withCOMMENT
MEDIUMlibrary/stdarch/crates/core_arch/src/mod.rs178 /// largely left up to you as it can be pretty nuanced depending onCOMMENT
MEDIUMlibrary/stdarch/ci/run.sh77 # harness isn't trying to capture output, otherwise we won't get any usefulCOMMENT
MEDIUMcompiler/rustc_errors/src/lib.rs618 // if/when we have a more robust macro-friendly replacement for `(span, key)` as a key.COMMENT
MEDIUMcompiler/rustc_resolve/src/diagnostics/impls.rs134/// `source_map` functions and this function to something more robust.COMMENT
MEDIUMcompiler/rustc_symbol_mangling/src/lib.rs88//! DefPaths which are much more robust in the face of changes to the code base.COMMENT
MEDIUM…er/rustc_infer/src/infer/lexical_region_resolve/mod.rs492 // For other cases, leverage the LUB code to find the LUB andCOMMENT
MEDIUMcompiler/rustc_query_impl/src/execution.rs62 // Avoid custom handlers and only use the robust `create_cycle_error` for nested cycle errorsCOMMENT
MEDIUMcompiler/rustc_data_structures/src/tagged_ptr.rs1//! This module implements tagged pointers. In order to utilize the pointerCOMMENT
52 more matches not shown…
Synthetic Comment Markers15 hits · 112 pts
SeverityFileLineSnippetContext
HIGHtests/ui/include-macros/same-file-in-two-crates.rs3// when there is some auto-generated code that is part of both a library and anCOMMENT
HIGHlibrary/alloc/src/vec/mod.rs390/// The allocator will return an allocation that is at least as large as requested, but it may be larger.COMMENT
HIGHcompiler/rustc_mir_build/src/builder/matches/mod.rs2328 // Controls whether bindings are declared or not, as requested by the caller.COMMENT
HIGH…/tools/rustfmt/tests/target/itemized-blocks/no_wrap.rs54/// * `to` is the receiving (local) [`ActorId`], as requested by the remote theaterCOMMENT
HIGH…/tools/rustfmt/tests/target/itemized-blocks/no_wrap.rs64/// * `to` is the receiving (local) [`ActorId`], as requested by the remote theaterCOMMENT
HIGH…/tools/rustfmt/tests/target/itemized-blocks/no_wrap.rs78/// * `to` is the receiving (local) [`ActorId`], as requested by the remote theaterCOMMENT
HIGHsrc/tools/rustfmt/tests/target/itemized-blocks/wrap.rs109/// as requested by the remote theaterCOMMENT
HIGHsrc/tools/rustfmt/tests/target/itemized-blocks/wrap.rs127/// as requested by the remote theaterCOMMENT
HIGHsrc/tools/rustfmt/tests/target/itemized-blocks/wrap.rs145/// as requested by the remote theaterCOMMENT
HIGH…/tools/rustfmt/tests/source/itemized-blocks/no_wrap.rs54/// * `to` is the receiving (local) [`ActorId`], as requested by the remote theaterCOMMENT
HIGH…/tools/rustfmt/tests/source/itemized-blocks/no_wrap.rs64/// * `to` is the receiving (local) [`ActorId`], as requested by the remote theaterCOMMENT
HIGH…/tools/rustfmt/tests/source/itemized-blocks/no_wrap.rs78/// * `to` is the receiving (local) [`ActorId`], as requested by the remote theaterCOMMENT
HIGHsrc/tools/rustfmt/tests/source/itemized-blocks/wrap.rs62/// * `to` is the receiving (local) [`ActorId`], as requested by the remote theaterCOMMENT
HIGHsrc/tools/rustfmt/tests/source/itemized-blocks/wrap.rs72/// * `to` is the receiving (local) [`ActorId`], as requested by the remote theaterCOMMENT
HIGHsrc/tools/rustfmt/tests/source/itemized-blocks/wrap.rs86/// * `to` is the receiving (local) [`ActorId`], as requested by the remote theaterCOMMENT
Slop Phrases43 hits · 88 pts
SeverityFileLineSnippetContext
MEDIUMtests/rustdoc-html/inherent-projections.rs28// The current test checks for the buggy behavior for demonstration purposes.COMMENT
MEDIUM…ts/rustdoc-html/intra-doc/inherent-associated-types.rs25// The current test checks for the buggy behavior for demonstration purposes.COMMENT
LOWtests/rustdoc-html/doc-cfg/always-true.rs14// If you change the selector in this one, don't forget to update the one of the `f`COMMENT
LOWtests/mir-opt/issue_62289.rs2// check that we don't forget to drop the Box if we early return beforeCOMMENT
MEDIUMlibrary/core/src/pin.rs250//! As discussed above, this promise must be upheld manually by [`unsafe`] code which interactsCOMMENT
LOWlibrary/core/src/fmt/mod.rs1743#[must_use = "don't forget to write the post padding"]COMMENT
LOWlibrary/core/src/fmt/mod.rs1743#[must_use = "don't forget to write the post padding"]COMMENT
MEDIUMlibrary/core/src/ptr/mod.rs359//! As discussed above, integer-to-pointer casts are not possible with Strict Provenance APIs.COMMENT
MEDIUMlibrary/core/src/future/future.rs87 /// `poll(2)` or `select(2)` syscalls on Unix it's worth noting that futuresCOMMENT
MEDIUMlibrary/core/src/mem/manually_drop.rs175 #[must_use = "if you don't need the wrapper, you can use `mem::forget` instead"]COMMENT
MEDIUMlibrary/core/src/mem/manually_drop.rs217 #[must_use = "if you don't need the value, you can use `ManuallyDrop::drop` instead"]COMMENT
MEDIUMlibrary/std/src/fs.rs141#[diagnostic::on_move(note = "you can use `File::try_clone` to duplicate a `File` instance")]COMMENT
MEDIUMlibrary/std/src/os/unix/io/mod.rs58//! if the API provides `BorrowedFd` access, since as mentioned earlier,COMMENT
MEDIUM…/compiler-builtins/compiler-builtins/src/probestack.rs39//! Finally it's worth noting that at the time of this writing LLVM only hasCOMMENT
MEDIUM…brary/portable-simd/crates/core_simd/examples/nbody.rs175 // Good enough for demonstration purposes, not going for strictness here.COMMENT
MEDIUMcompiler/rustc_resolve/src/diagnostics/mod.rs685#[label("you can use `as` to change the binding name of the import")]COMMENT
LOWcompiler/rustc_hir/src/intravisit.rs23//! `intravisit::Visitor` impl, implement methods like `visit_expr()` (don't forget to invokeCOMMENT
LOWcompiler/rustc_trait_selection/src/traits/normalize.rs424 // to make sure we don't forget to fold the args regardless.COMMENT
MEDIUMcompiler/rustc_mir_transform/src/elaborate_drops.rs34/// It's worth noting that a MIR containing a Drop without an associated move path is probably illCOMMENT
LOWcompiler/rustc_passes/src/reachable.rs504 // (But if you implement this, don't forget to take into account that vtables can alsoCOMMENT
LOWcompiler/rustc_const_eval/src/interpret/memory.rs448 // Don't forget to remember size and align of this now-dead allocationCOMMENT
LOWcompiler/rustc_const_eval/src/interpret/call.rs679 // Don't forget to check the return type!COMMENT
LOWcompiler/rustc_session/src/config/cfg.rs377 // Don't forget to update `src/doc/rustc/src/check-cfg.md`COMMENT
LOWcompiler/rustc_parse/src/parser/expr.rs355 // Note: when adding new unary operators, don't forget to adjust TokenKind::can_begin_expr()COMMENT
LOWcompiler/rustc_parse/src/parser/expr.rs1302 // Note: adding new syntax here? Don't forget to adjust `TokenKind::can_begin_expr()`.COMMENT
MEDIUMcompiler/rustc_hir_analysis/src/check/wfcheck.rs2767#[note("you can use the `{$candidate}` lifetime directly, in place of `{$victim}`")]COMMENT
LOWcompiler/rustc_lint/src/levels.rs453 /// Don't forget to call `pop`!COMMENT
LOWsrc/tools/linkchecker/linkcheck.sh17# --all Check all books. This can help make sure you don't break linksCOMMENT
LOWsrc/tools/linkchecker/main.rs545 "NOTE: if you are adding or renaming a markdown file in a mdBook, don't forget to \CODE
LOWsrc/tools/rust-analyzer/crates/hir-ty/src/infer.rs1630 // don't forget to handle them here.COMMENT
LOWsrc/tools/rust-analyzer/crates/ide/src/typing.rs36// Don't forget to add new trigger characters to `server_capabilities` in `caps.rs`.COMMENT
LOW…st-analyzer/crates/ide/src/syntax_highlighting/tags.rs44// Don't forget to adjust the feature description in crates/ide/src/syntax_highlighting.rs.COMMENT
LOW…s/src/handlers/convert_named_struct_to_tuple_struct.rs60 // are to lift this limitation, don't forget to make `edit_struct_def()` consider macro filesCOMMENT
LOWsrc/tools/rust-analyzer/.vscode/launch.json105 // Don't forget to set `debug = 2` in `Cargo.toml` before building the serverCOMMENT
MEDIUM…s/miri/src/borrow_tracker/tree_borrows/tree_visitor.rs137 // Reverse the stack, as discussed above.COMMENT
LOWsrc/tools/miri/src/concurrency/sync.rs264 // Don't forget to write the return value.COMMENT
MEDIUMsrc/tools/clippy/lintcheck/lintcheck_crates.toml6# For testing you can also add sources to git and local repos like this:COMMENT
LOWsrc/tools/clippy/.github/workflows/clippy_mq.yml33 # NOTE: If you modify this job, make sure you copy the changes to clippy.ymlCOMMENT
LOWsrc/tools/clippy/.github/workflows/clippy_mq.yml198 # NOTE: If you modify this job, make sure you copy the changes to clippy_pr.ymlCOMMENT
LOWsrc/tools/clippy/.github/workflows/clippy_pr.yml21 # NOTE: If you modify this job, make sure you copy the changes to clippy_mq.ymlCOMMENT
LOWsrc/tools/clippy/.github/workflows/clippy_pr.yml66 # NOTE: If you modify this job, make sure you copy the changes to clippy_mq.ymlCOMMENT
LOWsrc/etc/debugger_tester/lldb/batchmode.py81 # If the command introduced any breakpoints, make sure to registerCOMMENT
LOWsrc/librustdoc/clean/types.rs949 /// derive and attribute, potentially multiple at once). Don't forget to look into theCOMMENT
Structural Annotation Overuse43 hits · 75 pts
SeverityFileLineSnippetContext
LOW…/traits/object/crash-due-to-projections-modulo-norm.rs5// Step 1: Create two names for a single type: `Thing` and `AlsoThing`COMMENT
LOW⚡…/traits/object/crash-due-to-projections-modulo-norm.rs17// Step 2: Create names for a single trait object type: `TraitObject` and `AlsoTraitObject`COMMENT
LOW⚡…/traits/object/crash-due-to-projections-modulo-norm.rs25// Step 3: Force the compiler to check whether the two names are the same typeCOMMENT
LOW⚡…er-builtins/src/int/specialized_div_rem/binary_long.rs66 // Step 2: Continue based on `sub`. The `quo` bits start accumulating.COMMENT
LOWcompiler/rustc_codegen_gcc/src/builder.rs2126 // Step 2: We use two comparisons and two selects, with %s1 being theCOMMENT
LOWcompiler/rustc_codegen_gcc/src/builder.rs2146 // Step 3: NaN replacement.COMMENT
LOWcompiler/rustc_codegen_gcc/src/intrinsic/simd.rs321 // Step 1: Generate pre-reversed low and high nibbles as a vector.COMMENT
LOWcompiler/rustc_codegen_gcc/src/intrinsic/simd.rs349 // Step 2: Byte-swap the input.COMMENT
LOW⚡compiler/rustc_codegen_gcc/src/intrinsic/simd.rs370 // Step 3: Mask off the low and high nibbles of each byte in the byte-swapped input.COMMENT
LOW⚡compiler/rustc_codegen_gcc/src/intrinsic/simd.rs374 // Step 4: Shuffle the pre-reversed low and high-nibbles using the masked nibbles as a shuffle mask.COMMENT
LOW⚡compiler/rustc_codegen_gcc/src/intrinsic/simd.rs378 // Step 5: Combine the results of the shuffle back together and cast back to the original type.COMMENT
LOWcompiler/rustc_passes/src/reachable.rs164 // Step 2: Mark all symbols that the symbols on the worklist touch.COMMENT
LOWcompiler/rustc_passes/src/reachable.rs478 // Step 1: Seed the worklist with all nodes which were found to be public asCOMMENT
LOWcompiler/rustc_passes/src/reachable.rs519 // Step 2: Mark all symbols that the symbols on the worklist touch.COMMENT
LOWcompiler/rustc_target/src/asm/mod.rs437 // NOTE: This function isn't used at the moment, but is needed to supportCOMMENT
LOWcompiler/rustc_target/src/asm/mod.rs897// NOTE: This function isn't used at the moment, but is needed to supportCOMMENT
LOWcompiler/rustc_hir_analysis/src/hir_ty_lowering/mod.rs3848 // Step 1: check that every field is unique, and keep a list of field that we know areCOMMENT
LOWcompiler/rustc_hir_analysis/src/hir_ty_lowering/mod.rs3868 // Step 2: check that the viewed type is a struct.COMMENT
LOWcompiler/rustc_hir_analysis/src/hir_ty_lowering/mod.rs3891 // Step 3: check that every viewed field exists.COMMENT
LOW…tools/rust-analyzer/crates/syntax/src/ast/token_ext.rs346 // NOTE: This method should only be used for highlighting ranges. The unescapedCOMMENT
LOWsrc/tools/miri/src/helpers.rs758 // Step 1: determine the length.COMMENT
LOWsrc/tools/miri/src/helpers.rs772 // Step 2: get the bytes.COMMENT
LOW⚡…c/tools/miri/src/borrow_tracker/stacked_borrows/mod.rs281 // Step 1: Find granting item.COMMENT
LOW⚡…c/tools/miri/src/borrow_tracker/stacked_borrows/mod.rs285 // Step 2: Remove incompatible items above them. Make sure we do not remove protectedCOMMENT
LOW⚡…c/tools/miri/src/borrow_tracker/stacked_borrows/mod.rs366 // Step 1: Make a write access.COMMENT
LOW⚡…c/tools/miri/src/borrow_tracker/stacked_borrows/mod.rs370 // Step 2: Pretend we remove the remaining items, checking if any are strongly protected.COMMENT
LOWsrc/tools/clippy/README.md61#### Step 1: Install RustupCOMMENT
LOWsrc/tools/clippy/README.md73#### Step 2: Install ClippyCOMMENT
LOWsrc/tools/clippy/README.md83#### Step 3: Run ClippyCOMMENT
LOWsrc/doc/rustc-dev-guide/src/test-implementation.md41## Step 1: Re-ExportingCOMMENT
LOWsrc/doc/rustc-dev-guide/src/test-implementation.md83## Step 2: Harness generationCOMMENT
LOWsrc/doc/rustc-dev-guide/src/test-implementation.md106## Step 3: Test object generationCOMMENT
LOWsrc/doc/rustc-dev-guide/src/panic-implementation.md3## Step 1: Invocation of the `panic!` macro.COMMENT
LOWsrc/doc/rustc-dev-guide/src/panic-implementation.md99## Step 2: The panic runtimeCOMMENT
LOWsrc/doc/rustc-dev-guide/src/tests/adding.md57### Step 1: Add a test fileCOMMENT
LOWsrc/doc/rustc-dev-guide/src/tests/adding.md99### Step 2: Generate the expected outputCOMMENT
LOWsrc/doc/rustc-dev-guide/src/tests/adding.md122### Step 3: Add error annotationsCOMMENT
LOWsrc/doc/rustc-dev-guide/src/tests/adding.md147### Step 4: Review the outputCOMMENT
LOWsrc/doc/rustc-dev-guide/src/tests/adding.md183### Step 5: Check other testsCOMMENT
LOW⚡…rc/building/bootstrapping/bootstrap-in-dependencies.md41### Step 1: accept the new behavior in the compiler ([#139797](https://github.com/rust-lang/rust/pull/139797))COMMENT
LOW⚡…rc/building/bootstrapping/bootstrap-in-dependencies.md45### Step 2: update the crate ([#821](https://github.com/rust-lang/compiler-builtins/pull/821))COMMENT
LOW⚡…rc/building/bootstrapping/bootstrap-in-dependencies.md49### Step 3: update the crate version used by the compiler ([#139934](https://github.com/rust-lang/rust/pull/139934))COMMENT
LOW⚡…rc/building/bootstrapping/bootstrap-in-dependencies.md53### Step 4: remove the old behavior from the compiler ([#139753](https://github.com/rust-lang/rust/pull/139753))COMMENT
Self-Referential Comments22 hits · 65 pts
SeverityFileLineSnippetContext
MEDIUMx.py5# This file is only a "symlink" to bootstrap.py, all logic should go there.COMMENT
MEDIUMlibrary/std/src/os/unix/fs/dirs.rs526# This file is written by xdg-user-dirs-updateCOMMENT
MEDIUM…y/stdarch/crates/intrinsic-test/src/common/gen_rust.rs76 r#"# This file is automatically @generated by Cargo.CODE
MEDIUM.github/workflows/ci.yml1# This file defines our primary CI workflow that runs on pull requestsCOMMENT
MEDIUMcompiler/rustc_codegen_cranelift/patches/rand-lock.toml1# This file is automatically @generated by Cargo.COMMENT
MEDIUM…mpiler/rustc_codegen_cranelift/patches/regex-lock.toml1# This file is automatically @generated by Cargo.COMMENT
MEDIUMcompiler/rustc_thread_pool/src/lib.rs152/// ## Creating a ThreadPoolCOMMENT
MEDIUMcompiler/rustc_thread_pool/src/thread_pool/mod.rs28/// ## Creating a ThreadPoolCOMMENT
MEDIUMcompiler/rustc_target/src/spec/mod.rs20//! # Defining a new targetCOMMENT
MEDIUMsrc/tools/rust-installer/install-template.sh532 # Create the installed manifest, which we will fill in with absolute file pathsCOMMENT
MEDIUMsrc/tools/rust-installer/install-template.sh950# Create the manifest directory, where we will put our logsCOMMENT
MEDIUMsrc/tools/rust-installer/install-template.sh970# Create the manifest directory again! uninstall_legacyCOMMENT
MEDIUMsrc/tools/miri/rustfmt.toml13 # This file is copy-pasted from the tracing_chrome crate and should remain like the original.COMMENT
MEDIUMsrc/tools/miri/ci/vm-prepare.sh5# This file is inspired from <https://github.com/rust-lang/libc>.COMMENT
MEDIUMsrc/tools/miri/.github/workflows/ci.yml257 # Create a token for the next step so it can create a PR that actually runs CI.COMMENT
MEDIUMsrc/tools/miri/.github/workflows/ci.yml291 # Create a PRCOMMENT
MEDIUMsrc/ci/shared.sh4# This file is intended to be sourced with `. shared.sh` orCOMMENT
MEDIUMsrc/ci/docker/scripts/shared.sh4# This file is intended to be sourced with `. shared.sh` orCOMMENT
MEDIUMsrc/ci/github-actions/jobs.yml1# This file contains definitions of CI job parameters that are loadedCOMMENT
MEDIUMsrc/etc/lldb_lookup.py60# This file contains lookup functions that associate rust types with their synthetic/summaryCOMMENT
MEDIUMsrc/etc/lldb_providers.py32# This file contains two kinds of pretty-printers: summary and synthetic.COMMENT
MEDIUMsrc/etc/debugger_tester/lldb/batchmode.py239 # Create a target from a file and archCOMMENT
Verbosity Indicators37 hits · 64 pts
SeverityFileLineSnippetContext
LOW…/traits/object/crash-due-to-projections-modulo-norm.rs5// Step 1: Create two names for a single type: `Thing` and `AlsoThing`COMMENT
LOW⚡…/traits/object/crash-due-to-projections-modulo-norm.rs17// Step 2: Create names for a single trait object type: `TraitObject` and `AlsoTraitObject`COMMENT
LOW⚡…/traits/object/crash-due-to-projections-modulo-norm.rs25// Step 3: Force the compiler to check whether the two names are the same typeCOMMENT
LOW…sts/ui/wf/wf-packed-on-proj-of-type-as-unimpl-trait.rs6// So, we need to check if a given type needs drop-glue. That requiresCOMMENT
LOW⚡…er-builtins/src/int/specialized_div_rem/binary_long.rs59 // Step 0: `sub` is negative, so there is not full normalization, so no `quo` bit is setCOMMENT
LOW⚡…er-builtins/src/int/specialized_div_rem/binary_long.rs63 // Step 1: `sub` is positive, set a `quo` bit and update `duo` for next step.COMMENT
LOW⚡…er-builtins/src/int/specialized_div_rem/binary_long.rs66 // Step 2: Continue based on `sub`. The `quo` bits start accumulating.COMMENT
LOWcompiler/rustc_codegen_gcc/src/builder.rs2126 // Step 2: We use two comparisons and two selects, with %s1 being theCOMMENT
LOWcompiler/rustc_codegen_gcc/src/builder.rs2146 // Step 3: NaN replacement.COMMENT
LOWcompiler/rustc_codegen_gcc/src/back/write.rs112 // We need to check if we're doing LTO since this code is also used for theCOMMENT
LOWcompiler/rustc_codegen_gcc/src/intrinsic/simd.rs321 // Step 1: Generate pre-reversed low and high nibbles as a vector.COMMENT
LOWcompiler/rustc_codegen_gcc/src/intrinsic/simd.rs349 // Step 2: Byte-swap the input.COMMENT
LOW⚡compiler/rustc_codegen_gcc/src/intrinsic/simd.rs370 // Step 3: Mask off the low and high nibbles of each byte in the byte-swapped input.COMMENT
LOW⚡compiler/rustc_codegen_gcc/src/intrinsic/simd.rs374 // Step 4: Shuffle the pre-reversed low and high-nibbles using the masked nibbles as a shuffle mask.COMMENT
LOW⚡compiler/rustc_codegen_gcc/src/intrinsic/simd.rs378 // Step 5: Combine the results of the shuffle back together and cast back to the original type.COMMENT
LOWcompiler/rustc_resolve/src/late.rs3251 // we need to check if the span is a raw underscore lifetime, see issue #143152COMMENT
LOWcompiler/rustc_hir_typeck/src/method/suggest.rs3597 // We need to check if there is already a manual implementation of the traitCOMMENT
LOWcompiler/rustc_passes/src/reachable.rs164 // Step 2: Mark all symbols that the symbols on the worklist touch.COMMENT
LOWcompiler/rustc_passes/src/reachable.rs478 // Step 1: Seed the worklist with all nodes which were found to be public asCOMMENT
LOWcompiler/rustc_passes/src/reachable.rs519 // Step 2: Mark all symbols that the symbols on the worklist touch.COMMENT
LOWcompiler/rustc_middle/src/ty/print/pretty.rs3513/// The purpose of this function is to collect public symbols names that are unique across allCOMMENT
LOWcompiler/rustc_hir_analysis/src/hir_ty_lowering/mod.rs3848 // Step 1: check that every field is unique, and keep a list of field that we know areCOMMENT
LOWcompiler/rustc_hir_analysis/src/hir_ty_lowering/mod.rs3868 // Step 2: check that the viewed type is a struct.COMMENT
LOWcompiler/rustc_hir_analysis/src/hir_ty_lowering/mod.rs3891 // Step 3: check that every viewed field exists.COMMENT
LOWsrc/tools/miri/tests/pass/protector-gc.rs1// When we pop a stack frame with weak protectors, we need to check if the protected pointer'sCOMMENT
LOWsrc/tools/miri/src/helpers.rs758 // Step 1: determine the length.COMMENT
LOWsrc/tools/miri/src/helpers.rs772 // Step 2: get the bytes.COMMENT
LOW⚡…c/tools/miri/src/borrow_tracker/stacked_borrows/mod.rs281 // Step 1: Find granting item.COMMENT
LOW⚡…c/tools/miri/src/borrow_tracker/stacked_borrows/mod.rs285 // Step 2: Remove incompatible items above them. Make sure we do not remove protectedCOMMENT
LOW⚡…c/tools/miri/src/borrow_tracker/stacked_borrows/mod.rs366 // Step 1: Make a write access.COMMENT
LOW⚡…c/tools/miri/src/borrow_tracker/stacked_borrows/mod.rs370 // Step 2: Pretend we remove the remaining items, checking if any are strongly protected.COMMENT
LOWsrc/tools/clippy/clippy_lints/src/non_copy_const.rs455 // Normalized as we need to check if this is an array later.COMMENT
LOWsrc/tools/clippy/clippy_lints/src/non_copy_const.rs498 // Normalized as we need to check if this is an array later.COMMENT
LOWsrc/tools/clippy/clippy_lints/src/non_copy_const.rs637 // Normalized as we need to check if this is an array later.COMMENT
LOWsrc/librustdoc/passes/collect_trait_impls.rs21 // We need to check if there are errors before running this pass because it would crash whenCOMMENT
LOWsrc/librustdoc/html/static/js/main.js2076// This section handles the copy button that appears next to the path breadcrumbsCOMMENT
LOWsrc/librustdoc/html/static/js/search.js3576 // If the query element is a path (it contains `::`), we need to check if thisCOMMENT
Redundant / Tautological Comments37 hits · 52 pts
SeverityFileLineSnippetContext
LOW⚡bootstrap.example.toml61# Set this to `true` to download if CI llvm available otherwise it buildsCOMMENT
LOW⚡bootstrap.example.toml67# Set this to `"if-unchanged"` to download only if the llvm-project has notCOMMENT
LOWbootstrap.example.toml346# Set this to "discover" to automatically discover GDB from the environment.COMMENT
LOWbootstrap.example.toml351# Set this to "discover" to automatically discover LLDB from the environment.COMMENT
LOWbootstrap.example.toml626# Set this to "if-unchanged" if you are working on `src/tools`, `tests` orCOMMENT
LOWbootstrap.example.toml631# Set this to `true` to always download or `false` to always use the in-treeCOMMENT
LOWlibrary/core/src/async_iter/async_iter.rs25 /// # Return valueCOMMENT
LOWlibrary/core/src/num/float_parse.rs54 /// # Return valueCOMMENT
LOWlibrary/core/src/ops/coroutine.rs100 /// # Return valueCOMMENT
LOWlibrary/core/src/future/future.rs46 /// # Return valueCOMMENT
LOWlibrary/stdarch/crates/core_arch/src/wasm32/atomic.rs27/// # Return valueCOMMENT
LOWlibrary/stdarch/crates/core_arch/src/wasm32/atomic.rs58/// # Return valueCOMMENT
LOWlibrary/stdarch/crates/core_arch/src/wasm32/atomic.rs84/// # Return valueCOMMENT
LOW…rary/stdarch/crates/core_arch/src/x86_64/cmpxchg16b.rs12/// # Return valueCOMMENT
LOWlibrary/stdarch/.github/workflows/main.yml388 # Check if all jobs that we depend on (in the needs array) were successful.COMMENT
LOW.github/workflows/ci.yml108 # Check if cargo is installedCOMMENT
LOW…piler/rustc_codegen_gcc/.github/workflows/failures.yml152 # Check if all jobs that we depend on (in the needs array) were successful.COMMENT
LOW…mpiler/rustc_codegen_gcc/.github/workflows/release.yml130 # Check if all jobs that we depend on (in the needs array) were successful.COMMENT
LOWcompiler/rustc_codegen_gcc/.github/workflows/m68k.yml141 # Check if all jobs that we depend on (in the needs array) were successful.COMMENT
LOW…mpiler/rustc_codegen_gcc/.github/workflows/stdarch.yml138 # Check if all jobs that we depend on (in the needs array) were successful.COMMENT
LOWcompiler/rustc_codegen_gcc/.github/workflows/gcc12.yml109 # Check if all jobs that we depend on (in the needs array) were successful.COMMENT
LOWcompiler/rustc_codegen_gcc/.github/workflows/ci.yml214 # Check if all jobs that we depend on (in the needs array) were successful.COMMENT
LOWsrc/tools/rust-analyzer/Cargo.toml30# Set this to 1 or 2 to get more useful backtraces in debugger.COMMENT
LOWsrc/tools/rust-analyzer/.github/workflows/ci.yaml360 # Check if all jobs that we depend on (in the needs array) were successful (or have been skipped).COMMENT
LOWsrc/tools/miri/.github/workflows/ci.yml231 # Check if all jobs that we depend on (in the needs array) were successful.COMMENT
LOWsrc/tools/clippy/.github/workflows/clippy_mq.yml265 # Check if all jobs that we depend on (in the needs array) were successful.COMMENT
LOWsrc/tools/clippy/.github/workflows/clippy_dev.yml60 # Check if all jobs that we depend on (in the needs array) were successful.COMMENT
LOWsrc/tools/clippy/.github/workflows/clippy_pr.yml135 # Check if all jobs that we depend on (in the needs array) were successful.COMMENT
LOWsrc/tools/clippy/.github/workflows/clippy_changelog.yml50 # Check if all jobs that we depend on (in the needs array) were successful.COMMENT
LOWsrc/tools/clippy/.github/workflows/remark.yml66 # Check if all jobs that we depend on (in the needs array) were successful.COMMENT
LOWsrc/tools/rustfmt/.github/workflows/test.yml101 # Check if all jobs that we depend on (in the needs array) were successful (or have been skipped).COMMENT
LOWsrc/bootstrap/bootstrap.py176 # Check if the RuntimeError raised by run(curl) should be silencedCOMMENT
LOWsrc/ci/scripts/verify-backported-commits.sh136# Check if a commit is in the default branch.COMMENT
LOWsrc/ci/scripts/free-disk-space-linux.sh23# Check if we're on a GitHub hosted runner.COMMENT
LOWsrc/ci/scripts/free-disk-space-linux.sh341 # Check if it's a valid mountpoint and it has enough available space.COMMENT
LOWsrc/etc/pre-push.sh10# Check if the push is doing anything other than deleting remote branchesCOMMENT
LOWsrc/etc/debugger_tester/lldb/batchmode.py27# Set this to True for additional outputCOMMENT
Hyper-Verbose Identifiers43 hits · 44 pts
SeverityFileLineSnippetContext
LOWcompiler/rustc_codegen_gcc/tools/generate_intrinsics.py45def extract_intrinsics_from_llvm(llvm_path):CODE
LOWsrc/tools/rust-analyzer/editors/code/src/commands.ts567function predicateEvaluationValidationMessage(CODE
LOWsrc/tools/rust-analyzer/editors/code/src/commands.ts614function viewFileUsingTextDocumentContentProvider(CODE
LOWsrc/tools/rust-analyzer/editors/code/src/commands.ts1197export function applySnippetWorkspaceEditCommand(_ctx: CtxInit): Cmd {CODE
LOWsrc/tools/rust-analyzer/editors/code/src/main.ts229function checkConflictingExtensions() {CODE
LOWsrc/tools/rust-analyzer/editors/code/src/toolchain.ts177async function getPathForExecutableWithEnv(CODE
LOWsrc/tools/rust-analyzer/editors/code/src/snippets.ts7export async function applySnippetWorkspaceEdit(CODE
LOWsrc/tools/rust-analyzer/editors/code/src/debug.ts410async function recompileTestFromDebuggingSession(session: vscode.DebugSession, ctx: Ctx) {CODE
LOWsrc/tools/rust-analyzer/editors/code/src/debug.ts432export function initializeDebugSessionTrackingAndRebuild(ctx: Ctx) {CODE
LOWsrc/tools/rust-analyzer/editors/code/src/client.ts372function assertIsCodeActionWithoutEditsAndCommands(CODE
LOWsrc/tools/rust-analyzer/editors/code/src/config.ts561function substituteVSCodeVariableInString(val: string): string {CODE
LOWsrc/tools/rust-analyzer/editors/code/src/new_project.ts84async function promptForNewProjectTemplate(): Promise<NewProjectKind | undefined> {CODE
LOWsrc/tools/rust-analyzer/editors/code/src/new_project.ts91async function promptForNewProjectParentFolder(): Promise<vscode.Uri | undefined> {CODE
LOWsrc/tools/rust-analyzer/editors/code/src/new_project.ts238export function determineNewProjectOpenAction(CODE
LOWsrc/tools/rust-analyzer/editors/code/src/new_project.ts255async function promptForNewProjectOpenAction(CODE
LOWsrc/tools/rust-analyzer/editors/code/src/new_project.ts284async function executeNewProjectOpenAction(CODE
LOWsrc/tools/rust-analyzer/editors/code/src/bootstrap.ts191async function hasToolchainFileWithRaDeclared(uri: vscode.Uri): Promise<boolean> {CODE
LOWsrc/tools/miri/test-cargo-miri/run-test.py200def test_cargo_miri_multi_target():CODE
LOWsrc/bootstrap/bootstrap.py746 def should_fix_bins_and_dylibs(self):CODE
LOWsrc/bootstrap/bootstrap_test.py90 def test_stamp_path_does_not_exist(self):CODE
LOWsrc/bootstrap/bootstrap_test.py180 def test_set_codegen_backends(self):CODE
LOW⚡src/bootstrap/bootstrap_test.py205 def test_dotted_key_matches_section_form(self):CODE
LOW⚡src/bootstrap/bootstrap_test.py212 def test_dotted_key_wrong_section(self):CODE
LOW⚡src/bootstrap/bootstrap_test.py217 def test_program_config_requires_build_table(self):CODE
LOWsrc/bootstrap/bootstrap_test.py240 def test_dotted_key_inside_section(self):CODE
LOWsrc/bootstrap/bootstrap_test.py253 def test_dotted_prefix_does_not_alias_other_section(self):CODE
LOWsrc/ci/docker/scripts/fuchsia-test-runner.py55def check_output_with_logging(CODE
LOWsrc/etc/gdb_providers.py12def unwrap_unique_or_non_null(unique_or_nonnull):CODE
LOWsrc/etc/gdb_providers.py106def _enumerate_array_elements(element_ptrs):CODE
LOWsrc/etc/lldb_lookup.py119def register_providers_compatibility():CODE
LOWsrc/etc/lldb_providers.py164def unwrap_unique_or_non_null(unique_or_nonnull: SBValue) -> SBValue:CODE
LOWsrc/etc/lldb_providers.py286def resolve_msvc_template_arg(arg_name: str, target: SBTarget) -> SBType:CODE
LOWsrc/etc/debugger_tester/lldb/batchmode.py118def start_breakpoint_listener(target):CODE
LOWsrc/librustdoc/html/static/js/stringdex.js3045 function makeBranchesFromBinaryData(CODE
LOWsrc/librustdoc/html/static/js/main.js113function getOrCreateSection(id, classes) {CODE
LOWsrc/librustdoc/html/static/js/main.js132function getAlternativeDisplayElem() {CODE
LOWsrc/librustdoc/html/static/js/main.js180function browserSupportsHistoryApi() {CODE
LOWsrc/librustdoc/html/static/js/main.js1214 function setImplementorsTogglesOpen(id, open) {CODE
LOWsrc/librustdoc/html/static/js/main.js2230 function showHideCodeExampleButtons(event) {CODE
LOWsrc/librustdoc/html/static/js/search.js782function checkExtraTypeFilterCharacters(start, parserState) {CODE
LOWsrc/librustdoc/html/static/js/search.js3628 function unifyFunctionTypeCheckBindings(CODE
LOWsrc/librustdoc/html/static/js/search.js3701 function unifyFunctionTypeIsUnboxCandidate(CODE
LOWsrc/librustdoc/html/static/js/settings.js126 function buildSettingsPageSections(settings) {CODE
Excessive Try-Catch Wrapping30 hits · 30 pts
SeverityFileLineSnippetContext
LOW…/rust-analyzer/lib/smol_str/src/gdb_smolstr_printer.py32 except Exception:CODE
LOW…/rust-analyzer/lib/smol_str/src/gdb_smolstr_printer.py54 except Exception:CODE
LOW…/rust-analyzer/lib/smol_str/src/gdb_smolstr_printer.py71 except Exception as e:CODE
LOW…/rust-analyzer/lib/smol_str/src/gdb_smolstr_printer.py78 except Exception as e:CODE
LOW…/rust-analyzer/lib/smol_str/src/gdb_smolstr_printer.py97 except Exception as e:CODE
LOW…/rust-analyzer/lib/smol_str/src/gdb_smolstr_printer.py117 except Exception:CODE
MEDIUM…/rust-analyzer/lib/smol_str/src/gdb_smolstr_printer.py29def _read_utf8(mem):CODE
MEDIUM…/rust-analyzer/lib/smol_str/src/gdb_smolstr_printer.py51def to_string(self):CODE
LOWsrc/bootstrap/bootstrap.py301 except Exception as e:CODE
LOWsrc/bootstrap/bootstrap.py1438 except Exception as error:CODE
LOWsrc/ci/docker/scripts/fuchsia-test-runner.py104 except Exception as e:CODE
LOWsrc/ci/docker/scripts/fuchsia-test-runner.py202 except Exception as e:CODE
LOWsrc/ci/docker/scripts/fuchsia-test-runner.py209 except Exception as e:CODE
LOWsrc/ci/docker/scripts/fuchsia-test-runner.py221 except Exception as e:CODE
LOWsrc/ci/docker/scripts/fuchsia-test-runner.py523 except Exception as e:CODE
LOWsrc/etc/lldb_trim_paths.py40 except Exception as e:CODE
LOWsrc/etc/htmldocck.py189 except Exception as exc:STRING
LOWsrc/etc/htmldocck.py279 except Exception as e:STRING
LOWsrc/etc/htmldocck.py335 except Exception:STRING
LOWsrc/etc/gdb_load_rust_pretty_printers.py15except Exception:CODE
LOWsrc/etc/gdb_trim_paths.py41 except Exception as e:CODE
LOWsrc/etc/lldb_providers.py408 except Exception as e:CODE
LOWsrc/etc/debugger_tester/gdb/gdb_commands.py26 except Exception as e:CODE
LOWsrc/etc/debugger_tester/gdb/check_gdb.py228 except Exception as e:CODE
LOWsrc/etc/debugger_tester/gdb/check_gdb.py267 except Exception as e:CODE
LOWsrc/etc/debugger_tester/gdb/from_gdb.py66 except Exception:CODE
LOWsrc/etc/debugger_tester/gdb/from_gdb.py277 except Exception:CODE
LOWsrc/etc/debugger_tester/lldb/check_lldb.py310 except Exception as e:CODE
LOWsrc/etc/debugger_tester/lldb/check_lldb.py367 except Exception as e:CODE
LOWsrc/etc/debugger_tester/lldb/batchmode.py309 except Exception as e:CODE
Deep Nesting30 hits · 30 pts
SeverityFileLineSnippetContext
LOWlibrary/compiler-builtins/ci/ci-util.py352CODE
LOWlibrary/compiler-builtins/ci/ci-util.py108CODE
LOWlibrary/compiler-builtins/etc/update-api-list.py242CODE
LOWcompiler/rustc_codegen_gcc/tools/generate_intrinsics.py15CODE
LOWcompiler/rustc_codegen_gcc/tools/generate_intrinsics.py73CODE
LOW…rustc_codegen_gcc/tools/check_intrinsics_duplicates.py4CODE
LOWsrc/tools/publish_toolstate.py151CODE
LOWsrc/bootstrap/bootstrap.py52CODE
LOWsrc/bootstrap/bootstrap.py280CODE
LOWsrc/bootstrap/bootstrap.py1332CODE
LOWsrc/bootstrap/bootstrap.py603CODE
LOWsrc/bootstrap/bootstrap.py951CODE
LOWsrc/bootstrap/configure.py401CODE
LOWsrc/bootstrap/configure.py507CODE
LOWsrc/bootstrap/configure.py592CODE
LOWsrc/bootstrap/configure.py675CODE
LOWsrc/bootstrap/configure.py735CODE
LOWsrc/ci/docker/scripts/android-sdk-manager.py76CODE
LOWsrc/etc/htmldocck.py321CODE
LOWsrc/etc/htmldocck.py520CODE
LOWsrc/etc/lldb_providers.py229CODE
LOWsrc/etc/lldb_providers.py363CODE
LOWsrc/etc/lldb_providers.py831CODE
LOWsrc/etc/lldb_providers.py1246CODE
LOWsrc/etc/debugger_tester/common.py240CODE
LOWsrc/etc/debugger_tester/gdb/check_gdb.py125CODE
LOWsrc/etc/debugger_tester/lldb/check_lldb.py199CODE
LOWsrc/etc/debugger_tester/lldb/check_lldb.py393CODE
LOWsrc/etc/debugger_tester/lldb/batchmode.py68CODE
LOWsrc/etc/debugger_tester/lldb/batchmode.py214CODE
Modern AI Meta-Vocabulary9 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUMtests/ui/drop/super-let-tail-expr-drop-order.rs165// # Test scaffolding...COMMENT
MEDIUMtests/ui/drop/if-let-guards-2.rs196// # Test scaffolding...COMMENT
MEDIUMtests/ui/drop/if-let-guards.rs57// # Test scaffolding...COMMENT
MEDIUMtests/ui/drop/if-let-super-let.rs81// # Test scaffolding...COMMENT
MEDIUMtests/ui/drop/drop-order-comparisons.rs443// # Test scaffoldingCOMMENT
MEDIUMtests/ui/drop/drop-order-comparisons-let-chains.rs79// # Test scaffoldingCOMMENT
MEDIUM…s/ide-assists/src/handlers/add_missing_impl_members.rs19// Adds scaffold for required impl members.COMMENT
MEDIUM…s/ide-assists/src/handlers/add_missing_impl_members.rs64// Adds scaffold for overriding default impl members.COMMENT
MEDIUMsrc/tools/rust-analyzer/lib/lsp-server/src/lib.rs1//! A language server scaffold, exposing a synchronous crossbeam-channel based API.COMMENT
Empty Error Handlers5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHx.py28except OSError:CODE
HIGHsrc/tools/publish_toolstate.py26except ImportError:CODE
HIGH…/rust-analyzer/lib/smol_str/src/gdb_smolstr_printer.py117except Exception:CODE
HIGHsrc/bootstrap/bootstrap.py1208except KeyError:CODE
HIGHsrc/etc/debugger_tester/gdb/from_gdb.py265except TypeError:CODE
Unused Imports24 hits · 24 pts
SeverityFileLineSnippetContext
LOWcompiler/rustc_codegen_gcc/tools/generate_intrinsics.py3CODE
LOWsrc/tools/publish_toolstate.py8CODE
LOWsrc/tools/publish_toolstate.py25CODE
LOWsrc/bootstrap/bootstrap.py1CODE
LOWsrc/bootstrap/bootstrap.py1CODE
LOWsrc/bootstrap/bootstrap.py1CODE
LOWsrc/bootstrap/configure.py5CODE
LOWsrc/bootstrap/configure.py5CODE
LOWsrc/bootstrap/configure.py5CODE
LOWsrc/bootstrap/bootstrap_test.py5CODE
LOWsrc/bootstrap/bootstrap_test.py5CODE
LOWsrc/bootstrap/bootstrap_test.py5CODE
LOWsrc/ci/cpu-usage-over-time.py120CODE
LOWsrc/etc/htmldocck.py9CODE
LOWsrc/etc/htmldocck.py9CODE
LOWsrc/etc/htmldocck.py9CODE
LOWsrc/etc/dec2flt_table.py17CODE
LOWsrc/etc/lldb_lookup.py1CODE
LOWsrc/etc/lldb_lookup.py6CODE
LOWsrc/etc/lldb_lookup.py6CODE
LOWsrc/etc/lldb_providers.py1CODE
LOWsrc/etc/gdb_lookup.py5CODE
LOWsrc/etc/debugger_tester/__init__.py6CODE
LOWsrc/etc/debugger_tester/__init__.py8CODE
AI Response Leakage3 hits · 22 pts
SeverityFileLineSnippetContext
HIGHlibrary/alloc/src/string.rs2962/// In this implementation, the `to_string` method panicsCOMMENT
HIGHlibrary/core/src/ffi/va_list.rs168 // In this implementation the `va_list` type is just an alias for an opaque pointer.COMMENT
HIGHcompiler/rustc_ast_pretty/src/pp.rs131//! In this implementation (following the paper, again) the SCAN process is theCOMMENT
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…ustc-std-workspace/rustc-std-workspace-core/Cargo.toml0crate for integration of crates.io crates into rust-lang/rust standard library workspaceSTRING
HIGH…stc-std-workspace/rustc-std-workspace-alloc/Cargo.toml0crate for integration of crates.io crates into rust-lang/rust standard library workspaceSTRING
HIGH…rustc-std-workspace/rustc-std-workspace-std/Cargo.toml0crate for integration of crates.io crates into rust-lang/rust standard library workspaceSTRING
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWlibrary/core/src/macros/mod.rs1645 /// ### Usage example:COMMENT
LOWsrc/tools/linkchecker/linkcheck.sh9# Usage:COMMENT
LOWsrc/tools/run-make-support/src/macros.rs14/// Example usage:COMMENT