Repository Analysis

rust-lang/rust

Empowering everyone to build reliable and efficient software.

6.3 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of rust-lang/rust, a Rust project with 114,706 GitHub stars. SynthScan v2.0 examined 4,015,479 lines of code across 40582 source files, recording 27151 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 6.3 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.3
Adjusted Score
6.3
Raw Score
100%
Time Factor
2026-07-14
Last Push
114.7K
Stars
Rust
Language
4.0M
Lines of Code
40.6K
Files
27.2K
Pattern Hits
2026-07-14
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

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

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 79HIGH 20MEDIUM 444LOW 26608

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 27151 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 Block25973 hits · 21700 pts
SeverityFileLineSnippetContext
LOWREUSE.toml1version = 1COMMENT
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.toml361#build.yarn = "yarn"COMMENT
LOWbootstrap.example.toml381COMMENT
LOWbootstrap.example.toml401# repeatedly in a CI environment.COMMENT
LOWbootstrap.example.toml421# "cargo",COMMENT
LOWbootstrap.example.toml441#build.tool.TOOL_NAME.features = [FEATURE1, FEATURE2]COMMENT
LOWbootstrap.example.toml461# order to run `x check`.COMMENT
LOWbootstrap.example.toml481COMMENT
LOWbootstrap.example.toml501# this is not intended to be used during local development.COMMENT
LOWbootstrap.example.toml521#COMMENT
LOWbootstrap.example.toml541# =============================================================================COMMENT
LOWbootstrap.example.toml561# Where to install man pages in `prefix` aboveCOMMENT
LOWbootstrap.example.toml581# 2 - Some optimizations.COMMENT
LOWbootstrap.example.toml601# to `true`. In practice, everyone leaves `optimize` set toCOMMENT
LOWbootstrap.example.toml621#rust.download-rustc = falseCOMMENT
LOWbootstrap.example.toml641# Whether or not debug assertions are enabled for the standard library.COMMENT
LOWbootstrap.example.toml661# Whether or not to build rustc, tools and the libraries with randomized type layoutCOMMENT
LOWbootstrap.example.toml681# and needs to be enabled separately with `debuginfo-level-tests`.COMMENT
LOWbootstrap.example.toml701# Currently, this only works on Linux.COMMENT
LOWbootstrap.example.toml721# Whether to always use incremental compilation when building rustcCOMMENT
LOWbootstrap.example.toml741#rust.channel = if "is a tarball source" { "auto-detect" } else { "dev" }COMMENT
LOWbootstrap.example.toml761#rust.rustflags = []COMMENT
LOWbootstrap.example.toml781#rust.optimize-tests = trueCOMMENT
LOWbootstrap.example.toml801# This array serves three distinct purposes:COMMENT
LOWbootstrap.example.toml821# will be used.COMMENT
LOWbootstrap.example.toml841# Print backtrace on internal compiler errors during bootstrapCOMMENT
LOWbootstrap.example.toml861# Run tests in various test suites with the "nll compare mode" in addition toCOMMENT
LOWbootstrap.example.toml881# When no setting is given, the new scheme will be used when compiling theCOMMENT
LOWbootstrap.example.toml901# Configure `std` features used during bootstrap.COMMENT
LOWbootstrap.example.toml921# 1 - Use a single thread for compilation of Rust code (the default)COMMENT
LOWbootstrap.example.toml941COMMENT
LOWbootstrap.example.toml961COMMENT
LOWbootstrap.example.toml981# =============================================================================COMMENT
LOWbootstrap.example.toml1001COMMENT
LOWbootstrap.example.toml1021# Linker to be used to bootstrap Rust code. Note that theCOMMENT
LOWbootstrap.example.toml1041# default since we know it's safe to do so in that case.COMMENT
LOWbootstrap.example.toml1061# Override detection of whether this is a Rust-patched LLVM. This would be usedCOMMENT
LOWbootstrap.example.toml1081# Build the sanitizer runtimes for this target.COMMENT
LOWbootstrap.example.toml1101COMMENT
LOWbootstrap.example.toml1121COMMENT
LOWbootstrap.example.toml1141# This configuration is a space-separated list of arguments so `foo bar` wouldCOMMENT
LOWbootstrap.example.toml1161# The linker configuration that will *override* the default linker used for LinuxCOMMENT
25913 more matches not shown…
Decorative Section Separators291 hits · 1191 pts
SeverityFileLineSnippetContext
MEDIUMtriagebot.toml5# ------------------------------------------------------------------------------COMMENT
MEDIUMtriagebot.toml7# ------------------------------------------------------------------------------COMMENT
MEDIUMtriagebot.toml74# ------------------------------------------------------------------------------COMMENT
MEDIUMtriagebot.toml76# ------------------------------------------------------------------------------COMMENT
MEDIUMtriagebot.toml204# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml206# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml672# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml674# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml703# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml705# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml949# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml951# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml1500# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml1502# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml1728# ------------------------------------------------------------------------------STRING
MEDIUMtriagebot.toml1730# ------------------------------------------------------------------------------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.toml541# =============================================================================COMMENT
MEDIUMbootstrap.example.toml543# =============================================================================COMMENT
MEDIUMbootstrap.example.toml567# =============================================================================COMMENT
MEDIUMbootstrap.example.toml569# =============================================================================COMMENT
MEDIUMbootstrap.example.toml926# =============================================================================COMMENT
MEDIUMbootstrap.example.toml931# =============================================================================COMMENT
MEDIUMbootstrap.example.toml976# =============================================================================COMMENT
MEDIUMbootstrap.example.toml981# =============================================================================COMMENT
MEDIUMbootstrap.example.toml994# =============================================================================COMMENT
MEDIUMbootstrap.example.toml999# =============================================================================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.sh99# ==================COMMENT
MEDIUM…er/rustc_codegen_cranelift/scripts/test_rustc_tests.sh107# ======================COMMENT
MEDIUM…er/rustc_codegen_cranelift/scripts/test_rustc_tests.sh122# =============================================COMMENT
231 more matches not shown…
Hallucination Indicators79 hits · 898 pts
SeverityFileLineSnippetContext
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.rs885 let exception_table = fx.bcx.func.dfg.exception_tables.push(ExceptionTableData::new(CODE
CRITICALcompiler/rustc_codegen_cranelift/src/intrinsics/mod.rs1393 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.rs2275 if 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_mir_transform/src/inline.rs382 tcx.sess.opts.unstable_opts.inline_mir_forwarder_threshold.unwrap_or(30)CODE
CRITICALcompiler/rustc_mir_transform/src/inline.rs384 tcx.sess.opts.unstable_opts.inline_mir_hint_threshold.unwrap_or(100)CODE
CRITICALcompiler/rustc_mir_transform/src/inline.rs386 tcx.sess.opts.unstable_opts.inline_mir_threshold.unwrap_or(50)CODE
CRITICALcompiler/rustc_hir_typeck/src/op.rs1014 self.tcx.sess.psess.ambiguous_block_expr_parse.borrow().get(&sp)CODE
CRITICALcompiler/rustc_hir_typeck/src/fn_ctxt/checks.rs2310 self.arg_matching_ctxt.args_ctxt.call_ctxt.fn_ctxt.label_fn_like(CODE
CRITICALcompiler/rustc_hir_typeck/src/fn_ctxt/suggestions.rs1440 if let Some(sp) = self.tcx.sess.psess.ambiguous_block_expr_parse.borrow().get(&sp) {CODE
CRITICALcompiler/rustc_codegen_llvm/src/consts.rs437 && !self.tcx.sess.opts.cg.linker_plugin_lto.enabled();CODE
CRITICALcompiler/rustc_codegen_llvm/src/consts.rs442 !(self.tcx.sess.opts.cg.linker_plugin_lto.enabled()CODE
CRITICALcompiler/rustc_codegen_llvm/src/intrinsic.rs231 if tcx.sess.opts.unstable_opts.offload.is_empty() {CODE
CRITICALcompiler/rustc_codegen_llvm/src/intrinsic.rs1473 if bx.cx.tcx.sess.target.supports_comdat() {CODE
CRITICALcompiler/rustc_codegen_llvm/src/intrinsic.rs1737 if !tcx.sess.opts.unstable_opts.autodiff.contains(&rustc_session::config::AutoDiff::Enable) {CODE
CRITICALcompiler/rustc_codegen_llvm/src/intrinsic.rs1748 if lto != rustc_session::config::Lto::Fat && !tcx.sess.opts.cg.linker_plugin_lto.enabled() {CODE
CRITICALcompiler/rustc_codegen_llvm/src/attributes.rs340 if tcx.sess.opts.cg.profile_generate.enabled() {CODE
CRITICALcompiler/rustc_codegen_llvm/src/typetree.rs89 if !tcx.sess.opts.unstable_opts.autodiff.contains(&rustc_session::config::AutoDiff::Enable) {CODE
CRITICALcompiler/rustc_codegen_llvm/src/typetree.rs92 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_metadata/src/creader.rs1027 tcx.sess.instrument_coverage() || tcx.sess.opts.cg.profile_generate.enabled();CODE
CRITICALcompiler/rustc_metadata/src/rmeta/encoder.rs733 extra_filename: tcx.sess.opts.cg.extra_filename.clone(),CODE
CRITICALcompiler/rustc_metadata/src/rmeta/decoder.rs454 self.tcx.sess.psess.attr_id_generator.mk_attr_id()CODE
CRITICALcompiler/rustc_metadata/src/rmeta/decoder.rs1676 tcx.sess.opts.unstable_opts.simulate_remapped_rust_src_base.as_deref(),CODE
CRITICALcompiler/rustc_middle/src/ty/layout.rs1275 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.rs1157 || self.sess.opts.unstable_opts.metrics_dir.is_some()CODE
CRITICALcompiler/rustc_middle/src/mir/pretty.rs58 Self { include_extra_comments: tcx.sess.opts.unstable_opts.mir_include_spans.is_enabled() }CODE
CRITICALcompiler/rustc_expand/src/expand.rs656 if self.cx.sess.opts.incremental.is_some() {CODE
CRITICALcompiler/rustc_expand/src/proc_macro_server.rs475 self.ecx.sess.opts.logical_env.get(var).cloned()CODE
CRITICALcompiler/rustc_monomorphize/src/partitioning.rs206 let is_incremental_build = cx.tcx.sess.opts.incremental.is_some();CODE
CRITICALcompiler/rustc_monomorphize/src/partitioning.rs400 while cx.tcx.sess.opts.incremental.is_none()CODE
CRITICALcompiler/rustc_monomorphize/src/partitioning.rs423 if cx.tcx.sess.opts.incremental.is_some() {CODE
CRITICALcompiler/rustc_borrowck/src/lib.rs349 || infcx.tcx.sess.opts.unstable_opts.polonius.is_legacy_enabled();CODE
CRITICALcompiler/rustc_borrowck/src/dataflow.rs436 if !tcx.sess.opts.unstable_opts.polonius.is_next_enabled() {CODE
CRITICALcompiler/rustc_borrowck/src/nll.rs127 || infcx.tcx.sess.opts.unstable_opts.polonius.is_legacy_enabled();CODE
CRITICALcompiler/rustc_borrowck/src/region_infer/mod.rs508 if infcx.tcx.sess.opts.unstable_opts.polonius.is_legacy_enabled() {CODE
CRITICALcompiler/rustc_borrowck/src/polonius/dump.rs28 if !tcx.sess.opts.unstable_opts.polonius.is_next_enabled() {CODE
CRITICALcompiler/rustc_borrowck/src/polonius/legacy/facts.rs60 || tcx.sess.opts.unstable_opts.polonius.is_legacy_enabled()CODE
CRITICALcompiler/rustc_borrowck/src/type_check/mod.rs141 let polonius_context = if infcx.tcx.sess.opts.unstable_opts.polonius.is_next_enabled() {CODE
CRITICAL…/rustc_borrowck/src/diagnostics/bound_region_errors.rs206 predicate: self.canonical_query.canonical.value.value.predicate.to_string(),CODE
CRITICAL…/rustc_borrowck/src/diagnostics/bound_region_errors.rs250 value: self.canonical_query.canonical.value.value.value.to_string(),CODE
CRITICAL…/rustc_borrowck/src/diagnostics/bound_region_errors.rs303 value: self.canonical_query.canonical.value.value.value.to_string(),CODE
CRITICAL…piler/rustc_borrowck/src/diagnostics/explain_borrow.rs635 assert!(!tcx.sess.opts.unstable_opts.polonius.is_next_enabled());CODE
19 more matches not shown…
Fake / Example Data374 hits · 656 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.rs417 /// | Lorem Ipsum, Lorem Ipsum | Lorem Ipsum, Lorem Ipsum |COMMENT
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.rs428 /// | Lorem Ipsum, Lorem Ipsum | Lorem Ipsum, Lorem Ipsum |COMMENT
LOWtests/rustdoc-gui/src/test_docs/lib.rs668 //! * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque et libero ut leoCOMMENT
LOWtests/rustdoc-gui/src/test_docs/lib.rs668 //! * 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.rs413/// 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
314 more matches not shown…
AI Slop Vocabulary114 hits · 334 pts
SeverityFileLineSnippetContext
LOWREUSE.toml9# just set a blanket license and copyright notice for a whole sub-tree at aCOMMENT
MEDIUMbootstrap.example.toml777# Prints each test name as it is executed, to help debug issues in the test harness itself.COMMENT
MEDIUMbootstrap.example.toml1062# 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/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/string.rs1304 /// # process_data("rust").expect("why is the test harness OOMing on 4 bytes?");COMMENT
MEDIUMlibrary/alloc/src/string.rs1345 /// # process_data("rust").expect("why is the test harness OOMing on 4 bytes?");COMMENT
MEDIUMlibrary/alloc/src/raw_vec/mod.rs872 /// prevent double-free or use-after-free. Essentially, do not do anything with the callerCOMMENT
MEDIUMlibrary/alloc/src/vec/mod.rs1532 /// # process_data(&[1, 2, 3]).expect("why is the test harness OOMing on 12 bytes?");COMMENT
MEDIUMlibrary/alloc/src/vec/mod.rs1575 /// # process_data(&[1, 2, 3]).expect("why is the test harness OOMing on 12 bytes?");COMMENT
MEDIUMlibrary/alloc/src/collections/vec_deque/mod.rs1156 /// # process_data(&[1, 2, 3]).expect("why is the test harness OOMing on 12 bytes?");COMMENT
MEDIUMlibrary/alloc/src/collections/vec_deque/mod.rs1204 /// # process_data(&[1, 2, 3]).expect("why is the test harness OOMing on 12 bytes?");COMMENT
MEDIUMlibrary/alloc/src/collections/binary_heap/mod.rs1261 /// # find_max_slow(&[1, 2, 3]).expect("why is the test harness OOMing on 12 bytes?");COMMENT
MEDIUMlibrary/alloc/src/collections/binary_heap/mod.rs1297 /// # find_max_slow(&[1, 2, 3]).expect("why is the test harness OOMing on 12 bytes?");COMMENT
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.rs745/// tests more robust. In particular, if you want to verify that your code doesCOMMENT
MEDIUMlibrary/core/src/io/error.rs746/// 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.rs2349 // 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/io/buffered/bufreader.rs427 // If `buf` is empty--the most common case--we can leverage `append_to_string`COMMENT
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.py416 # just use `--limit=1`, jq filtering happens after limiting. We alsoCOMMENT
LOWlibrary/compiler-builtins/ci/ci-util.py417 # cannot just use `--workflow` because GH gets confused fromCOMMENT
LOWlibrary/compiler-builtins/.github/workflows/main.yaml189 # 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.rs175 /// 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.rs620 // if/when we have a more robust macro-friendly replacement for `(span, key)` as a key.COMMENT
MEDIUMcompiler/rustc_resolve/src/diagnostics/impls.rs132/// `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
54 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.rs387/// 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 Phrases40 hits · 84 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/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.rs335//! 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.rs220 #[must_use = "if you don't need the value, you can use `ManuallyDrop::drop` instead"]COMMENT
MEDIUMlibrary/std/src/fs.rs133#[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.rs675#[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.rs33/// It's worth noting that a MIR containing a Drop without an associated move path is probably illCOMMENT
LOWcompiler/rustc_passes/src/reachable.rs501 // (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.rs558 // 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.rs507 // Note: when adding new unary operators, don't forget to adjust TokenKind::can_begin_expr()COMMENT
LOWcompiler/rustc_parse/src/parser/expr.rs1503 // Note: adding new syntax here? Don't forget to adjust `TokenKind::can_begin_expr()`.COMMENT
MEDIUMcompiler/rustc_hir_analysis/src/check/wfcheck.rs2498#[note("you can use the `{$candidate}` lifetime directly, in place of `{$victim}`")]COMMENT
LOWcompiler/rustc_lint/src/levels.rs455 /// 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.rs1567 // 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.py84 # If the command introduced any breakpoints, make sure to registerCOMMENT
LOWsrc/librustdoc/clean/types.rs964 /// 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.rs1986 // Step 2: We use two comparisons and two selects, with %s1 being theCOMMENT
LOWcompiler/rustc_codegen_gcc/src/builder.rs2006 // 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.rs165 // Step 2: Mark all symbols that the symbols on the worklist touch.COMMENT
LOWcompiler/rustc_passes/src/reachable.rs475 // Step 1: Seed the worklist with all nodes which were found to be public asCOMMENT
LOWcompiler/rustc_passes/src/reachable.rs516 // 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.rs3837 // 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.rs3857 // Step 2: check that the viewed type is a struct.COMMENT
LOWcompiler/rustc_hir_analysis/src/hir_ty_lowering/mod.rs3880 // Step 3: check that every viewed field exists.COMMENT
LOW…tools/rust-analyzer/crates/syntax/src/ast/token_ext.rs298 // NOTE: This method should only be used for highlighting ranges. The unescapedCOMMENT
LOWsrc/tools/miri/src/helpers.rs761 // Step 1: determine the length.COMMENT
LOWsrc/tools/miri/src/helpers.rs775 // 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.rs1986 // Step 2: We use two comparisons and two selects, with %s1 being theCOMMENT
LOWcompiler/rustc_codegen_gcc/src/builder.rs2006 // 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.rs3184 // we need to check if the span is a raw underscore lifetime, see issue #143152COMMENT
LOWcompiler/rustc_hir_typeck/src/method/suggest.rs3613 // We need to check if there is already a manual implementation of the traitCOMMENT
LOWcompiler/rustc_passes/src/reachable.rs165 // Step 2: Mark all symbols that the symbols on the worklist touch.COMMENT
LOWcompiler/rustc_passes/src/reachable.rs475 // Step 1: Seed the worklist with all nodes which were found to be public asCOMMENT
LOWcompiler/rustc_passes/src/reachable.rs516 // Step 2: Mark all symbols that the symbols on the worklist touch.COMMENT
LOWcompiler/rustc_middle/src/ty/print/pretty.rs3520/// 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.rs3837 // 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.rs3857 // Step 2: check that the viewed type is a struct.COMMENT
LOWcompiler/rustc_hir_analysis/src/hir_ty_lowering/mod.rs3880 // 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.rs761 // Step 1: determine the length.COMMENT
LOWsrc/tools/miri/src/helpers.rs775 // 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.rs457 // Normalized as we need to check if this is an array later.COMMENT
LOWsrc/tools/clippy/clippy_lints/src/non_copy_const.rs500 // Normalized as we need to check if this is an array later.COMMENT
LOWsrc/tools/clippy/clippy_lints/src/non_copy_const.rs639 // Normalized as we need to check if this is an array later.COMMENT
LOWsrc/librustdoc/passes/collect_trait_impls.rs26 // We need to check if there are errors before running this pass because it would crash whenCOMMENT
LOWsrc/librustdoc/html/static/js/main.js2078// 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 · 60 pts
SeverityFileLineSnippetContext
MEDIUMx.py5# This file is only a "symlink" to bootstrap.py, all logic should go there.COMMENT
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.rs19//! # 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.sh948# Create the manifest directory, where we will put our logsCOMMENT
MEDIUMsrc/tools/rust-installer/install-template.sh968# 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.yml231 # Create a token for the next step so it can create a PR that actually runs CI.COMMENT
MEDIUMsrc/tools/miri/.github/workflows/ci.yml265 # 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.py204 # Create a new debugger instanceCOMMENT
MEDIUMsrc/etc/lldb_batchmode/runner.py211 # Create a target from a file and archCOMMENT
Redundant / Tautological Comments34 hits · 49 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.toml614# Set this to "if-unchanged" if you are working on `src/tools`, `tests` orCOMMENT
LOWbootstrap.example.toml619# 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.yml390 # 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.yml205 # 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.py30# 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.ts179async 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.py126def register_providers_compatibility():CODE
LOWsrc/etc/lldb_providers.py120def unwrap_unique_or_non_null(unique_or_nonnull: SBValue) -> SBValue:CODE
LOWsrc/etc/lldb_providers.py229def resolve_msvc_template_arg(arg_name: str, target: SBTarget) -> SBType:CODE
LOWsrc/etc/lldb_batchmode/runner.py121def 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.js1216 function setImplementorsTogglesOpen(id, open) {CODE
LOWsrc/librustdoc/html/static/js/main.js2232 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
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
Deep Nesting27 hits · 27 pts
SeverityFileLineSnippetContext
LOWlibrary/compiler-builtins/ci/ci-util.py343CODE
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.py183CODE
LOWsrc/etc/lldb_providers.py299CODE
LOWsrc/etc/lldb_providers.py716CODE
LOWsrc/etc/lldb_batchmode/runner.py71CODE
LOWsrc/etc/lldb_batchmode/runner.py121CODE
LOWsrc/etc/lldb_batchmode/runner.py126CODE
LOWsrc/etc/lldb_batchmode/common.py78CODE
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/lldb_batchmode/runner.py16CODE
LOWsrc/etc/lldb_batchmode/__init__.py1CODE
AI Response Leakage3 hits · 22 pts
SeverityFileLineSnippetContext
HIGHlibrary/alloc/src/string.rs2909/// In this implementation, the `to_string` method panicsCOMMENT
HIGHlibrary/core/src/ffi/va_list.rs178 // 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
Excessive Try-Catch Wrapping20 hits · 20 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/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/lldb_providers.py344 except Exception as e:CODE
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.rs1637 /// ### Usage example:COMMENT
LOWsrc/tools/linkchecker/linkcheck.sh9# Usage:COMMENT
LOWsrc/tools/run-make-support/src/macros.rs14/// Example usage:COMMENT