Repository Analysis

rust-lang/rust

Empowering everyone to build reliable and efficient software.

6.4 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of rust-lang/rust, a Rust project with 116,315 GitHub stars. SynthScan v2.0 examined 4,085,759 lines of code across 41415 source files, recording 27703 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 6.4 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

6.4
Adjusted Score
6.4
Raw Score
100%
Time Factor
2026-08-28
Last Push
116.3K
Stars
Rust
Language
4.1M
Lines of Code
41.4K
Files
27.7K
Pattern Hits
2026-08-29
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 94HIGH 20MEDIUM 438LOW 27151

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 27703 distinct pattern matches across 19 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block26506 hits · 22170 pts
SeverityFileLineSnippetContext
LOWCargo.toml81codegen-units = 1COMMENT
LOWREUSE.toml1version = 1COMMENT
LOWtriagebot.toml1841# when commits are included in subtrees, as well as warning links in commits.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.toml1041COMMENT
LOWbootstrap.example.toml1061# Archiver to be used to assemble static libraries compiled from C/C++ code.COMMENT
LOWbootstrap.example.toml1081# On Linux, split debuginfo is disabled by default.COMMENT
LOWbootstrap.example.toml1101# - "zlib": compress debuginfo with zlibCOMMENT
LOWbootstrap.example.toml1121# `libgcc_s.so`, 'in-tree' means static link to the in-tree build of llvm libunwindCOMMENT
26446 more matches not shown…
Decorative Section Separators291 hits · 1185 pts
SeverityFileLineSnippetContext
MEDIUMtriagebot.toml5# ------------------------------------------------------------------------------COMMENT
MEDIUMtriagebot.toml7# ------------------------------------------------------------------------------COMMENT
MEDIUMtriagebot.toml74# ------------------------------------------------------------------------------COMMENT
MEDIUMtriagebot.toml76# ------------------------------------------------------------------------------COMMENT
MEDIUMtriagebot.toml211# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml213# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml679# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml681# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml710# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml712# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml1020# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml1022# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml1584# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml1586# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml1813# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml1815# ------------------------------------------------------------------------------STRING
MEDIUMbootstrap.example.toml52# =============================================================================COMMENT
MEDIUMbootstrap.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.toml1042# =============================================================================COMMENT
MEDIUMbootstrap.example.toml1047# =============================================================================COMMENT
MEDIUMlibrary/core/src/fmt/mod.rs294 /// ┌───┬───────┬───┬───┬───┬───┬───┬───┬───┬───┬──────────────────────────────────┐COMMENT
MEDIUMlibrary/core/src/fmt/mod.rs296 /// └───┴───────┴───┴───┴───┴───┴───┴───┴───┴───┴──────────────────────────────────┘COMMENT
MEDIUMlibrary/core/src/fmt/mod.rs297 /// │ │ │ │ └─┬───────────────────┘ └─┬──────────────────────────────┘COMMENT
MEDIUMlibrary/core/src/fmt/mod.rs615// ┌────────────────────────────────┐COMMENT
MEDIUMlibrary/core/src/fmt/mod.rs617// ├──────────────────────────────┬─┤COMMENT
MEDIUMlibrary/core/src/fmt/mod.rs619// └──────────────────────────────┴─┘COMMENT
MEDIUMlibrary/core/src/fmt/mod.rs627// ┌────────────────────────────────┐COMMENT
MEDIUMlibrary/core/src/fmt/mod.rs629// ├────────────────────────────────┤COMMENT
MEDIUMlibrary/core/src/fmt/mod.rs631// └────────────────────────────────┘COMMENT
MEDIUMlibrary/core/src/fmt/mod.rs650// ┌───┬────────────────────────────┐COMMENT
MEDIUMlibrary/core/src/fmt/mod.rs652// └───┴────────────────────────────┘COMMENT
MEDIUMlibrary/core/src/fmt/mod.rs656// ┌────┬─────────┬───────────────────────────┐COMMENT
MEDIUMlibrary/core/src/fmt/mod.rs658// └────┴─────────┴───────────────────────────┘COMMENT
MEDIUMlibrary/core/src/fmt/mod.rs665// ┌──────────┬┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┬┄┄┄┄┄┄┄┄┄┄┄┬┄┄┄┄┄┄┄┄┄┄┄┬┄┄┄┄┄┄┄┄┄┄┄┐COMMENT
MEDIUMlibrary/core/src/fmt/mod.rs667// └────││││││┴┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┴┄┄┄┄┄┄┄┄┄┄┄┴┄┄┄┄┄┄┄┄┄┄┄┴┄┄┄┄┄┄┄┄┄┄┄┘COMMENT
MEDIUMlibrary/core/src/fmt/mod.rs680// ┌──────────┐COMMENT
MEDIUMlibrary/core/src/fmt/mod.rs682// └──────────┘COMMENT
MEDIUMlibrary/std/src/sys/sync/rwlock/queue.rs81//! ╭───────╮ next ╭───────╮ next ╭───────╮ next ╭───────╮COMMENT
MEDIUMlibrary/std/src/sys/sync/rwlock/queue.rs82//! │ ├─────►│ ├─────►│ ├─────►│ count │COMMENT
MEDIUMlibrary/std/src/sys/sync/rwlock/queue.rs84//! │ │ │ │◄─────┤ │◄─────┤ │COMMENT
MEDIUMlibrary/std/src/sys/sync/rwlock/queue.rs85//! ╰───────╯ ╰───────╯ prev ╰───────╯ prev ╰───────╯COMMENT
MEDIUMlibrary/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
231 more matches not shown…
Hallucination Indicators94 hits · 1072 pts
SeverityFileLineSnippetContext
CRITICALtests/codegen-llvm/const-vector.rs53 // 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
CRITICALtests/codegen-llvm/inject-autocast.rs98 // CHECK: [[A:%[0-9]+]] = call x86_amx @llvm.x86.cast.vector.to.tile.v1024i8(<1024 x i8> {{.*}})COMMENT
CRITICALtests/codegen-llvm/inject-autocast.rs99 // CHECK: [[B:%[0-9]+]] = call x86_amx @llvm.x86.cast.vector.to.tile.v1024i8(<1024 x i8> {{.*}})COMMENT
CRITICALtests/codegen-llvm/inject-autocast.rs100 // CHECK: [[C:%[0-9]+]] = call x86_amx @llvm.x86.cast.vector.to.tile.v1024i8(<1024 x i8> {{.*}})COMMENT
CRITICALtests/codegen-llvm/inject-autocast.rs102 // CHECK: call <1024 x i8> @llvm.x86.cast.tile.to.vector.v1024i8(x86_amx [[D]])COMMENT
CRITICALtests/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
CRITICALtests/codegen-llvm/inject-autocast.rs116// CHECK: declare x86_amx @llvm.x86.cast.vector.to.tile.v1024i8(<1024 x i8>)COMMENT
CRITICALtests/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.rs1418 fx.bcx.func.dfg.exception_tables.push(ExceptionTableData::new(CODE
CRITICALcompiler/rustc_codegen_gcc/src/consts.rs284 !(self.tcx.sess.opts.cg.linker_plugin_lto.enabled()CODE
CRITICALcompiler/rustc_resolve/src/diagnostics/impls.rs2324 if self.tcx.sess.opts.externs.get(ident.as_str()).is_some()CODE
CRITICALcompiler/rustc_resolve/src/diagnostics/impls.rs3058 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.rs234 if tcx.sess.opts.jobs.frontend.is_some() {CODE
CRITICALcompiler/rustc_mir_transform/src/inline.rs367 tcx.sess.opts.unstable_opts.inline_mir_forwarder_threshold.unwrap_or(30)CODE
CRITICALcompiler/rustc_mir_transform/src/inline.rs369 tcx.sess.opts.unstable_opts.inline_mir_hint_threshold.unwrap_or(100)CODE
CRITICALcompiler/rustc_mir_transform/src/inline.rs371 tcx.sess.opts.unstable_opts.inline_mir_threshold.unwrap_or(50)CODE
CRITICALcompiler/rustc_hir_typeck/src/expr.rs633 if !tcx.sess.opts.unstable_opts.offload.is_empty()CODE
CRITICALcompiler/rustc_hir_typeck/src/op.rs1015 self.tcx.sess.psess.ambiguous_block_expr_parse.borrow().get(&sp)CODE
CRITICALcompiler/rustc_hir_typeck/src/fn_ctxt/checks.rs2354 self.arg_matching_ctxt.args_ctxt.call_ctxt.fn_ctxt.label_fn_like(CODE
CRITICALcompiler/rustc_hir_typeck/src/fn_ctxt/suggestions.rs1470 if let Some(sp) = self.tcx.sess.psess.ambiguous_block_expr_parse.borrow().get(&sp) {CODE
CRITICALcompiler/rustc_codegen_llvm/src/consts.rs432 && !self.tcx.sess.opts.cg.linker_plugin_lto.enabled();CODE
CRITICALcompiler/rustc_codegen_llvm/src/consts.rs437 !(self.tcx.sess.opts.cg.linker_plugin_lto.enabled()CODE
CRITICALcompiler/rustc_codegen_llvm/src/intrinsic.rs232 if tcx.sess.opts.unstable_opts.offload.is_empty() {CODE
CRITICALcompiler/rustc_codegen_llvm/src/intrinsic.rs1481 if bx.cx.tcx.sess.target.supports_comdat() {CODE
CRITICALcompiler/rustc_codegen_llvm/src/intrinsic.rs1748 if !tcx.sess.opts.unstable_opts.autodiff.contains(&rustc_session::config::AutoDiff::Enable) {CODE
CRITICALcompiler/rustc_codegen_llvm/src/intrinsic.rs1759 if lto != rustc_session::config::Lto::Fat && !tcx.sess.opts.cg.linker_plugin_lto.enabled() {CODE
CRITICALcompiler/rustc_codegen_llvm/src/lib.rs378 if tcx.sess.opts.unstable_opts.offload.iter().any(|o| matches!(o, Offload::Device(_)))CODE
CRITICALcompiler/rustc_codegen_llvm/src/lib.rs379 || tcx.sess.opts.unstable_opts.offload.iter().any(|o| matches!(o, Offload::Host(_)))CODE
CRITICALcompiler/rustc_codegen_llvm/src/attributes.rs347 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.rs81 if cx.tcx.sess.opts.cg.no_redzone.unwrap_or(cx.tcx.sess.target.disable_redzone) {CODE
CRITICALcompiler/rustc_codegen_llvm/src/builder.rs2043 let is_diag = self.tcx.sess.opts.unstable_opts.sanitizer_cfi_diag.unwrap_or(false);CODE
CRITICALcompiler/rustc_codegen_llvm/src/builder.rs2045 self.tcx.sess.opts.unstable_opts.sanitizer_cfi_recover.unwrap_or(false);CODE
CRITICALcompiler/rustc_metadata/src/creader.rs1036 tcx.sess.instrument_coverage() || tcx.sess.opts.cg.profile_generate.enabled();CODE
CRITICALcompiler/rustc_metadata/src/rmeta/encoder.rs737 extra_filename: tcx.sess.opts.cg.extra_filename.clone(),CODE
CRITICALcompiler/rustc_metadata/src/rmeta/encoder.rs2508 if tcx.sess.opts.jobs.frontend.is_some() {CODE
CRITICALcompiler/rustc_metadata/src/rmeta/decoder.rs460 self.tcx.sess.psess.attr_id_generator.mk_attr_id()CODE
CRITICALcompiler/rustc_metadata/src/rmeta/decoder.rs1731 tcx.sess.opts.unstable_opts.simulate_remapped_rust_src_base.as_deref(),CODE
CRITICALcompiler/rustc_middle/src/queries.rs2605 desc { "normalizing `{}`", goal.canonical.value.value.value.skip_normalization() }CODE
CRITICALcompiler/rustc_middle/src/queries.rs2615 desc { "normalizing `{:?}`", goal.canonical.value.value.value.skip_normalization() }CODE
CRITICALcompiler/rustc_middle/src/queries.rs2625 desc { "normalizing `{:?}`", goal.canonical.value.value.value.skip_normalization() }CODE
CRITICALcompiler/rustc_middle/src/queries.rs2635 desc { "normalizing `{:?}`", goal.canonical.value.value.value.skip_normalization() }CODE
CRITICALcompiler/rustc_middle/src/ty/layout.rs1293 if !tcx.sess.opts.unstable_opts.panic_in_drop.unwinds()CODE
CRITICALcompiler/rustc_middle/src/ty/typetree.rs12 if tcx.sess.opts.unstable_opts.autodiff.contains(&rustc_session::config::AutoDiff::NoTT) {CODE
CRITICALcompiler/rustc_middle/src/ty/typetree.rs42 if !tcx.sess.opts.unstable_opts.autodiff.contains(&rustc_session::config::AutoDiff::Enable) {CODE
CRITICALcompiler/rustc_middle/src/ty/typetree.rs45 if tcx.sess.opts.unstable_opts.autodiff.contains(&rustc_session::config::AutoDiff::NoTT) {CODE
CRITICALcompiler/rustc_middle/src/ty/context.rs1156 || self.sess.opts.unstable_opts.metrics_dir.is_some()CODE
CRITICALcompiler/rustc_middle/src/mir/pretty.rs59 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_expand/src/proc_macro_server.rs477 self.ecx.sess.opts.logical_env.get(var).cloned()CODE
CRITICALcompiler/rustc_monomorphize/src/collector.rs1489 if let Some(manifest_path) = tcx.sess.opts.unstable_opts.offload.iter().find_map(|o| {CODE
34 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
LOWtests/rustdoc-gui/src/test_docs/lib.rs418 /// | Lorem Ipsum, Lorem Ipsum | Lorem Ipsum, Lorem Ipsum |COMMENT
LOWtests/rustdoc-gui/src/test_docs/lib.rs419 /// | Lorem Ipsum, Lorem Ipsum | Lorem Ipsum, Lorem Ipsum |COMMENT
LOWtests/rustdoc-gui/src/test_docs/lib.rs420 /// | Lorem Ipsum, Lorem Ipsum | Lorem Ipsum, Lorem Ipsum |COMMENT
LOWtests/rustdoc-gui/src/test_docs/lib.rs421 /// | Lorem Ipsum, Lorem Ipsum | Lorem Ipsum, Lorem Ipsum |COMMENT
LOWtests/rustdoc-gui/src/test_docs/lib.rs429 /// | Lorem Ipsum, Lorem Ipsum | Lorem Ipsum, Lorem Ipsum |COMMENT
LOWtests/rustdoc-gui/src/test_docs/lib.rs669 //! * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque et libero ut leoCOMMENT
LOWtests/rustdoc-gui/src/test_docs/lib.rs669 //! * 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.rs420/// 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
LOWlibrary/alloctests/benches/str.rs122 let haystack = "Lorem ipsum dolor sit amet, consectetur adipiscing elit.";CODE
315 more matches not shown…
AI Slop Vocabulary108 hits · 316 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.toml1110# 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.rs471 /// Essentially, this consists of uppercasing the first cased letterCOMMENT
MEDIUMlibrary/alloc/src/boxed.rs1488 // 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.rs868 /// 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.rs34/// Instead, safe wrappers of FFI functions may leverage [`CStr::as_ptr`] and the unsafeCOMMENT
MEDIUMlibrary/core/src/ffi/c_str.rs105 // this an unsized type. Essentially `sizeof(&CStr)` should be theCOMMENT
MEDIUMlibrary/core/src/ptr/const_ptr.rs92 /// pointers. The pointer is cast to a sized pointee to utilize offset operations and thenCOMMENT
MEDIUMlibrary/core/src/ptr/mut_ptr.rs75 /// 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
MEDIUMlibrary/test/src/stats.rs52 /// Note: this is not a robust statistic for non-normal distributions. Prefer theCOMMENT
MEDIUMlibrary/test/src/stats.rs60 /// Note: this is not a robust statistic for non-normal distributions. Prefer theCOMMENT
MEDIUMlibrary/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/ffi/os_str.rs400 /// # process_data("123").expect("why is the test harness OOMing on 3 bytes?");COMMENT
MEDIUMlibrary/std/src/ffi/os_str.rs471 /// # 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
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.yaml191 # 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.rs628 // if/when we have a more robust macro-friendly replacement for `(span, key)` as a key.COMMENT
MEDIUMcompiler/rustc_resolve/src/diagnostics/impls.rs133/// `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.rs493 // For other cases, leverage the LUB code to find the LUB andCOMMENT
MEDIUMcompiler/rustc_query_impl/src/execution.rs60 // 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
MEDIUMcompiler/rustc_data_structures/src/fingerprint.rs151 // cheaper than the more robust Fingerprint::to_smaller_hash()). ForCOMMENT
MEDIUMcompiler/rustc_data_structures/src/graph/scc/mod.rs513 // Move the stack to a local variable. We want to utilize the existing allocation andCOMMENT
MEDIUMcompiler/rustc_hir_typeck/src/diverges.rs16 /// Definitely known to diverge and thereforeCOMMENT
MEDIUMcompiler/rustc_span/src/lib.rs1789 // Buffer size is the recommended amount to fully leverage SIMD instructions on AVX-512 as perCOMMENT
48 more matches not shown…
Synthetic Comment Markers14 hits · 105 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
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 Phrases41 hits · 85 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.rs177 #[must_use = "if you don't need the wrapper, you can use `mem::forget` instead"]COMMENT
MEDIUMlibrary/core/src/mem/manually_drop.rs221 #[must_use = "if you don't need the value, you can use `ManuallyDrop::drop` instead"]COMMENT
MEDIUMlibrary/std/src/fs.rs134#[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.rs666#[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.rs503 // (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.rs633 // Don't forget to check the return type!COMMENT
LOWcompiler/rustc_session/src/config/cfg.rs379 // Don't forget to update `src/doc/rustc/src/check-cfg.md`COMMENT
LOWcompiler/rustc_parse/src/parser/expr.rs496 // Note: when adding new unary operators, don't forget to adjust TokenKind::can_begin_expr()COMMENT
LOWcompiler/rustc_parse/src/parser/expr.rs1491 // Note: adding new syntax here? Don't forget to adjust `TokenKind::can_begin_expr()`.COMMENT
MEDIUMcompiler/rustc_hir_analysis/src/check/wfcheck.rs2645#[note("you can use the `{$candidate}` lifetime directly, in place of `{$victim}`")]COMMENT
LOWcompiler/rustc_lint/src/levels.rs452 /// 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.rs1648 // 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_pr.yml21 # NOTE: If you modify this job, make sure you copy the changes to clippy_mq.ymlCOMMENT
LOWsrc/etc/lldb_batchmode/runner.py80 # If the command introduced any breakpoints, make sure to registerCOMMENT
LOWsrc/librustdoc/clean/types.rs968 /// 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.rs1993 // Step 2: We use two comparisons and two selects, with %s1 being theCOMMENT
LOWcompiler/rustc_codegen_gcc/src/builder.rs2013 // Step 3: NaN replacement.COMMENT
LOWcompiler/rustc_codegen_gcc/src/intrinsic/simd.rs320 // Step 1: Generate pre-reversed low and high nibbles as a vector.COMMENT
LOWcompiler/rustc_codegen_gcc/src/intrinsic/simd.rs348 // Step 2: Byte-swap the input.COMMENT
LOWcompiler/rustc_codegen_gcc/src/intrinsic/simd.rs369 // Step 3: Mask off the low and high nibbles of each byte in the byte-swapped input.COMMENT
LOWcompiler/rustc_codegen_gcc/src/intrinsic/simd.rs373 // Step 4: Shuffle the pre-reversed low and high-nibbles using the masked nibbles as a shuffle mask.COMMENT
LOWcompiler/rustc_codegen_gcc/src/intrinsic/simd.rs377 // 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.rs477 // Step 1: Seed the worklist with all nodes which were found to be public asCOMMENT
LOWcompiler/rustc_passes/src/reachable.rs518 // Step 2: Mark all symbols that the symbols on the worklist touch.COMMENT
LOWcompiler/rustc_target/src/asm/mod.rs438 // NOTE: This function isn't used at the moment, but is needed to supportCOMMENT
LOWcompiler/rustc_target/src/asm/mod.rs861// NOTE: This function isn't used at the moment, but is needed to supportCOMMENT
LOWcompiler/rustc_hir_analysis/src/hir_ty_lowering/mod.rs3864 // 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.rs3884 // Step 2: check that the viewed type is a struct.COMMENT
LOWcompiler/rustc_hir_analysis/src/hir_ty_lowering/mod.rs3907 // Step 3: check that every viewed field exists.COMMENT
LOW…tools/rust-analyzer/crates/syntax/src/ast/token_ext.rs308 // NOTE: This method should only be used for highlighting ranges. The unescapedCOMMENT
LOWsrc/tools/miri/src/helpers.rs756 // Step 1: determine the length.COMMENT
LOWsrc/tools/miri/src/helpers.rs770 // 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.md42## Step 1: Re-ExportingCOMMENT
LOWsrc/doc/rustc-dev-guide/src/test-implementation.md84## Step 2: Harness generationCOMMENT
LOWsrc/doc/rustc-dev-guide/src/test-implementation.md107## 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
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.rs1993 // Step 2: We use two comparisons and two selects, with %s1 being theCOMMENT
LOWcompiler/rustc_codegen_gcc/src/builder.rs2013 // Step 3: NaN replacement.COMMENT
LOWcompiler/rustc_codegen_gcc/src/back/write.rs115 // We need to check if we're doing LTO since this code is also used for theCOMMENT
LOWcompiler/rustc_codegen_gcc/src/intrinsic/simd.rs320 // Step 1: Generate pre-reversed low and high nibbles as a vector.COMMENT
LOWcompiler/rustc_codegen_gcc/src/intrinsic/simd.rs348 // Step 2: Byte-swap the input.COMMENT
LOWcompiler/rustc_codegen_gcc/src/intrinsic/simd.rs369 // Step 3: Mask off the low and high nibbles of each byte in the byte-swapped input.COMMENT
LOWcompiler/rustc_codegen_gcc/src/intrinsic/simd.rs373 // Step 4: Shuffle the pre-reversed low and high-nibbles using the masked nibbles as a shuffle mask.COMMENT
LOWcompiler/rustc_codegen_gcc/src/intrinsic/simd.rs377 // Step 5: Combine the results of the shuffle back together and cast back to the original type.COMMENT
LOWcompiler/rustc_resolve/src/late.rs3188 // we need to check if the span is a raw underscore lifetime, see issue #143152COMMENT
LOWcompiler/rustc_hir_typeck/src/method/suggest.rs3615 // 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.rs477 // Step 1: Seed the worklist with all nodes which were found to be public asCOMMENT
LOWcompiler/rustc_passes/src/reachable.rs518 // Step 2: Mark all symbols that the symbols on the worklist touch.COMMENT
LOWcompiler/rustc_middle/src/ty/print/pretty.rs3515/// 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.rs3864 // 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.rs3884 // Step 2: check that the viewed type is a struct.COMMENT
LOWcompiler/rustc_hir_analysis/src/hir_ty_lowering/mod.rs3907 // 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.rs756 // Step 1: determine the length.COMMENT
LOWsrc/tools/miri/src/helpers.rs770 // 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.rs456 // Normalized as we need to check if this is an array later.COMMENT
LOWsrc/tools/clippy/clippy_lints/src/non_copy_const.rs499 // Normalized as we need to check if this is an array later.COMMENT
LOWsrc/tools/clippy/clippy_lints/src/non_copy_const.rs638 // Normalized as we need to check if this is an array later.COMMENT
LOWsrc/librustdoc/passes/collect_trait_impls.rs22 // 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
Self-Referential Comments20 hits · 59 pts
SeverityFileLineSnippetContext
MEDIUMx.py5# This file is only a "symlink" to bootstrap.py, all logic should go there.COMMENT
MEDIUM…y/stdarch/crates/intrinsic-test/src/common/gen_rust.rs75 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/.github/workflows/ci.yml236 # Create a token for the next step so it can create a PR that actually runs CI.COMMENT
MEDIUMsrc/tools/miri/.github/workflows/ci.yml270 # 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.py58# This file contains lookup functions that associate rust types with their synthetic/summaryCOMMENT
MEDIUMsrc/etc/lldb_providers.py33# This file contains two kinds of pretty-printers: summary and synthetic.COMMENT
MEDIUMsrc/etc/lldb_batchmode/runner.py217 # Create a target from a file and archCOMMENT
Redundant / Tautological Comments36 hits · 50 pts
SeverityFileLineSnippetContext
LOWbootstrap.example.toml61# Set this to `true` to download if CI llvm available otherwise it buildsCOMMENT
LOWbootstrap.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.yml131 # Check if all jobs that we depend on (in the needs array) were successful.COMMENT
LOW…mpiler/rustc_codegen_gcc/.github/workflows/release.yml124 # Check if all jobs that we depend on (in the needs array) were successful.COMMENT
LOWcompiler/rustc_codegen_gcc/.github/workflows/m68k.yml135 # Check if all jobs that we depend on (in the needs array) were successful.COMMENT
LOW…mpiler/rustc_codegen_gcc/.github/workflows/stdarch.yml118 # Check if all jobs that we depend on (in the needs array) were successful.COMMENT
LOWcompiler/rustc_codegen_gcc/.github/workflows/gcc12.yml103 # Check if all jobs that we depend on (in the needs array) were successful.COMMENT
LOWcompiler/rustc_codegen_gcc/.github/workflows/ci.yml162 # 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.yaml359 # 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.yml210 # Check if all jobs that we depend on (in the needs array) were successful.COMMENT
LOWsrc/tools/clippy/.github/workflows/clippy_mq.yml214 # 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.yml83 # 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/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/lldb_batchmode/runner.py26# 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.py199def 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
LOWsrc/bootstrap/bootstrap_test.py205 def test_dotted_key_matches_section_form(self):CODE
LOWsrc/bootstrap/bootstrap_test.py212 def test_dotted_key_wrong_section(self):CODE
LOWsrc/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.py117def register_providers_compatibility():CODE
LOWsrc/etc/lldb_providers.py136def unwrap_unique_or_non_null(unique_or_nonnull: SBValue) -> SBValue:CODE
LOWsrc/etc/lldb_providers.py264def resolve_msvc_template_arg(arg_name: str, target: SBTarget) -> SBType:CODE
LOWsrc/etc/lldb_batchmode/runner.py117def 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
Deep Nesting29 hits · 29 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.py207CODE
LOWsrc/etc/lldb_providers.py341CODE
LOWsrc/etc/lldb_providers.py797CODE
LOWsrc/etc/lldb_providers.py1187CODE
LOWsrc/etc/lldb_batchmode/runner.py67CODE
LOWsrc/etc/lldb_batchmode/runner.py192CODE
LOWsrc/etc/lldb_batchmode/common.py240CODE
LOWsrc/etc/lldb_batchmode/check_lldb.py207CODE
LOWsrc/etc/lldb_batchmode/check_lldb.py390CODE
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
Excessive Try-Catch Wrapping25 hits · 26 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.py62 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.py63 except Exception as e:CODE
LOWsrc/etc/lldb_providers.py386 except Exception as e:CODE
LOWsrc/etc/lldb_batchmode/runner.py290 except Exception as e:CODE
LOWsrc/etc/lldb_batchmode/check_lldb.py307 except Exception as e:CODE
LOWsrc/etc/lldb_batchmode/check_lldb.py364 except Exception as e:CODE
Unused Imports23 hits · 23 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/lldb_batchmode/__init__.py1CODE
AI Response Leakage3 hits · 22 pts
SeverityFileLineSnippetContext
HIGHlibrary/alloc/src/string.rs2939/// 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