Empowering everyone to build reliable and efficient software.
This report summarizes scanner evidence for rust-lang/rust, a Rust project with 119,642 GitHub stars. SynthScan examined 4,144,285 lines of code across 42115 source files, recording 28335 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 6.4 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 27509 finding(s).
Are imports declared and package/API names verified? 495 finding(s).
Are wrappers, guards, and repeated structures necessary? 374 finding(s).
Which changes need focused human review? 28335 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 28335 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Cargo.toml | 81 | codegen-units = 1 | COMMENT |
| LOW | REUSE.toml | 1 | version = 1 | COMMENT |
| LOW | triagebot.toml | 1901 | # Allow members to formally register concerns (`@rustbot concern my concern`) | COMMENT |
| LOW | bootstrap.example.toml | 1 | # Sample TOML configuration file for building Rust. | COMMENT |
| LOW | bootstrap.example.toml | 21 | # Global Settings | COMMENT |
| LOW | bootstrap.example.toml | 41 | # you can visit github.com/rust-lang/rust/pull/{change-id} to check for more details. | COMMENT |
| LOW | bootstrap.example.toml | 61 | # Set this to `true` to download if CI llvm available otherwise it builds | COMMENT |
| LOW | bootstrap.example.toml | 81 | # only succeed if you use clang, lld, llvm-ar, and llvm-ranlib in your C/C++ | COMMENT |
| LOW | bootstrap.example.toml | 101 | #llvm.plugins = false | COMMENT |
| LOW | bootstrap.example.toml | 121 | #llvm.ninja = true | COMMENT |
| LOW | bootstrap.example.toml | 141 | # If set to 0, linker invocations are treated like any other job and | COMMENT |
| LOW | bootstrap.example.toml | 161 | #llvm.cxxflags = "" | COMMENT |
| LOW | bootstrap.example.toml | 181 | COMMENT | |
| LOW | bootstrap.example.toml | 201 | # `<libgccjit-libs-dir>/<host>/<target>/libgccjit.so`. | COMMENT |
| LOW | bootstrap.example.toml | 221 | COMMENT | |
| LOW | bootstrap.example.toml | 241 | # The default stage to use for the `install` subcommand | COMMENT |
| LOW | bootstrap.example.toml | 261 | #build.description = "" | COMMENT |
| LOW | bootstrap.example.toml | 281 | COMMENT | |
| LOW | bootstrap.example.toml | 301 | # specified, use this rustc binary instead as the stage0 snapshot compiler. | COMMENT |
| LOW | bootstrap.example.toml | 321 | # Whether to build documentation by default. If false, rustdoc and | COMMENT |
| LOW | bootstrap.example.toml | 341 | # Indicate whether git submodules are managed and updated automatically. | COMMENT |
| LOW | bootstrap.example.toml | 361 | COMMENT | |
| LOW | bootstrap.example.toml | 381 | # | COMMENT |
| LOW | bootstrap.example.toml | 401 | # then you can set this option to true. | COMMENT |
| LOW | bootstrap.example.toml | 421 | # If `extended = false`, the only one of these built by default is rustdoc. | COMMENT |
| LOW | bootstrap.example.toml | 441 | # | COMMENT |
| LOW | bootstrap.example.toml | 461 | # so that `compiler-rt` sources are available. | COMMENT |
| LOW | bootstrap.example.toml | 481 | #build.configure-args = [] | COMMENT |
| LOW | bootstrap.example.toml | 501 | # a Nix toolchain on non-NixOS distributions. | COMMENT |
| LOW | bootstrap.example.toml | 521 | # Whether to allow `compiletest` self-tests and `compiletest`-managed test | COMMENT |
| LOW | bootstrap.example.toml | 541 | #build.ccache = false | COMMENT |
| LOW | bootstrap.example.toml | 561 | # If this is a relative path, it will get installed in `prefix` above | COMMENT |
| LOW | bootstrap.example.toml | 581 | # ============================================================================= | COMMENT |
| LOW | bootstrap.example.toml | 601 | # slower (due to e.g. checking of debug assertions) but should remain | COMMENT |
| LOW | bootstrap.example.toml | 621 | COMMENT | |
| LOW | bootstrap.example.toml | 641 | COMMENT | |
| LOW | bootstrap.example.toml | 661 | # | COMMENT |
| LOW | bootstrap.example.toml | 681 | COMMENT | |
| LOW | bootstrap.example.toml | 701 | COMMENT | |
| LOW | bootstrap.example.toml | 721 | # is platform dependent. | COMMENT |
| LOW | bootstrap.example.toml | 741 | # setting. | COMMENT |
| LOW | bootstrap.example.toml | 761 | #rust.musl-root = <platform specific> (path) | COMMENT |
| LOW | bootstrap.example.toml | 781 | COMMENT | |
| LOW | bootstrap.example.toml | 801 | # Having the git information can cause a lot of rebuilds during development. | COMMENT |
| LOW | bootstrap.example.toml | 821 | # a dist component/tarball for the Cranelift backend if it is included in this array. | COMMENT |
| LOW | bootstrap.example.toml | 841 | # Indicates whether some LLVM tools, like llvm-objdump, will be made available in the | COMMENT |
| LOW | bootstrap.example.toml | 861 | # will make code compile faster at the expense of lower runtime performance. | COMMENT |
| LOW | bootstrap.example.toml | 881 | #rust.llvm-libunwind = 'no' | COMMENT |
| LOW | bootstrap.example.toml | 901 | # limit (65 bytes). | COMMENT |
| LOW | bootstrap.example.toml | 921 | # - If building for a zkvm target, "compiler-builtins-mem" will be added. | COMMENT |
| LOW | bootstrap.example.toml | 941 | # If unset, the first upstream parent commit will be used. | COMMENT |
| LOW | bootstrap.example.toml | 961 | # | COMMENT |
| LOW | bootstrap.example.toml | 981 | #dist.upload-addr = <none> (URL) | COMMENT |
| LOW | bootstrap.example.toml | 1001 | # Copy the linker, DLLs, and various libraries from MinGW into the Rust toolchain. | COMMENT |
| LOW | bootstrap.example.toml | 1021 | # Use the following profile to PGO optimize rustdoc. | COMMENT |
| LOW | bootstrap.example.toml | 1041 | # Use the following profile to PGO optimize the Cranelift codegen backend. | COMMENT |
| LOW | bootstrap.example.toml | 1061 | # C++ compiler to be used to compile C++ code (e.g. LLVM and our LLVM shims). | COMMENT |
| LOW | bootstrap.example.toml | 1081 | # is platform dependent. | COMMENT |
| LOW | bootstrap.example.toml | 1101 | # Compress debuginfo for Rust and C/C++ code of this target. | COMMENT |
| LOW | bootstrap.example.toml | 1121 | COMMENT | |
| 27052 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | triagebot.toml | 5 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | triagebot.toml | 7 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | triagebot.toml | 74 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | triagebot.toml | 76 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | triagebot.toml | 211 | # ------------------------------------------------------------------------------ | STRING |
| MEDIUM | triagebot.toml | 213 | # ------------------------------------------------------------------------------ | STRING |
| MEDIUM | triagebot.toml | 680 | # ------------------------------------------------------------------------------ | STRING |
| MEDIUM | triagebot.toml | 682 | # ------------------------------------------------------------------------------ | STRING |
| MEDIUM | triagebot.toml | 722 | # ------------------------------------------------------------------------------ | STRING |
| MEDIUM | triagebot.toml | 724 | # ------------------------------------------------------------------------------ | STRING |
| MEDIUM | triagebot.toml | 1032 | # ------------------------------------------------------------------------------ | STRING |
| MEDIUM | triagebot.toml | 1034 | # ------------------------------------------------------------------------------ | STRING |
| MEDIUM | triagebot.toml | 1628 | # ------------------------------------------------------------------------------ | STRING |
| MEDIUM | triagebot.toml | 1630 | # ------------------------------------------------------------------------------ | STRING |
| MEDIUM | triagebot.toml | 1869 | # ------------------------------------------------------------------------------ | STRING |
| MEDIUM | triagebot.toml | 1871 | # ------------------------------------------------------------------------------ | STRING |
| MEDIUM⚡ | bootstrap.example.toml | 52 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | bootstrap.example.toml | 54 | # ============================================================================= | COMMENT |
| MEDIUM | bootstrap.example.toml | 20 | # ============================================================================= | COMMENT |
| MEDIUM | bootstrap.example.toml | 22 | # ============================================================================= | COMMENT |
| MEDIUM | bootstrap.example.toml | 188 | # ============================================================================= | COMMENT |
| MEDIUM | bootstrap.example.toml | 190 | # ============================================================================= | COMMENT |
| MEDIUM | bootstrap.example.toml | 222 | # ============================================================================= | COMMENT |
| MEDIUM | bootstrap.example.toml | 224 | # ============================================================================= | COMMENT |
| MEDIUM | bootstrap.example.toml | 553 | # ============================================================================= | COMMENT |
| MEDIUM | bootstrap.example.toml | 555 | # ============================================================================= | COMMENT |
| MEDIUM | bootstrap.example.toml | 579 | # ============================================================================= | COMMENT |
| MEDIUM | bootstrap.example.toml | 581 | # ============================================================================= | COMMENT |
| MEDIUM | bootstrap.example.toml | 959 | # ============================================================================= | COMMENT |
| MEDIUM | bootstrap.example.toml | 964 | # ============================================================================= | COMMENT |
| MEDIUM | bootstrap.example.toml | 1009 | # ============================================================================= | COMMENT |
| MEDIUM | bootstrap.example.toml | 1014 | # ============================================================================= | COMMENT |
| MEDIUM | bootstrap.example.toml | 1047 | # ============================================================================= | COMMENT |
| MEDIUM | bootstrap.example.toml | 1052 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | library/core/src/fmt/mod.rs | 294 | /// ┌───┬───────┬───┬───┬───┬───┬───┬───┬───┬───┬──────────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | library/core/src/fmt/mod.rs | 296 | /// └───┴───────┴───┴───┴───┴───┴───┴───┴───┴───┴──────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | library/core/src/fmt/mod.rs | 297 | /// │ │ │ │ └─┬───────────────────┘ └─┬──────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | library/core/src/fmt/mod.rs | 615 | // ┌────────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | library/core/src/fmt/mod.rs | 617 | // ├──────────────────────────────┬─┤ | COMMENT |
| MEDIUM⚡ | library/core/src/fmt/mod.rs | 619 | // └──────────────────────────────┴─┘ | COMMENT |
| MEDIUM⚡ | library/core/src/fmt/mod.rs | 627 | // ┌────────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | library/core/src/fmt/mod.rs | 629 | // ├────────────────────────────────┤ | COMMENT |
| MEDIUM⚡ | library/core/src/fmt/mod.rs | 631 | // └────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | library/core/src/fmt/mod.rs | 650 | // ┌───┬────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | library/core/src/fmt/mod.rs | 652 | // └───┴────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | library/core/src/fmt/mod.rs | 656 | // ┌────┬─────────┬───────────────────────────┐ | COMMENT |
| MEDIUM⚡ | library/core/src/fmt/mod.rs | 658 | // └────┴─────────┴───────────────────────────┘ | COMMENT |
| MEDIUM⚡ | library/core/src/fmt/mod.rs | 665 | // ┌──────────┬┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┬┄┄┄┄┄┄┄┄┄┄┄┬┄┄┄┄┄┄┄┄┄┄┄┬┄┄┄┄┄┄┄┄┄┄┄┐ | COMMENT |
| MEDIUM⚡ | library/core/src/fmt/mod.rs | 667 | // └────││││││┴┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┴┄┄┄┄┄┄┄┄┄┄┄┴┄┄┄┄┄┄┄┄┄┄┄┴┄┄┄┄┄┄┄┄┄┄┄┘ | COMMENT |
| MEDIUM | library/core/src/fmt/mod.rs | 680 | // ┌──────────┐ | COMMENT |
| MEDIUM | library/core/src/fmt/mod.rs | 682 | // └──────────┘ | COMMENT |
| MEDIUM⚡ | library/std/src/sys/sync/rwlock/queue.rs | 81 | //! ╭───────╮ next ╭───────╮ next ╭───────╮ next ╭───────╮ | COMMENT |
| MEDIUM⚡ | library/std/src/sys/sync/rwlock/queue.rs | 82 | //! │ ├─────►│ ├─────►│ ├─────►│ count │ | COMMENT |
| MEDIUM⚡ | library/std/src/sys/sync/rwlock/queue.rs | 84 | //! │ │ │ │◄─────┤ │◄─────┤ │ | COMMENT |
| MEDIUM⚡ | library/std/src/sys/sync/rwlock/queue.rs | 85 | //! ╰───────╯ ╰───────╯ prev ╰───────╯ prev ╰───────╯ | COMMENT |
| MEDIUM⚡ | library/std/src/sys/sync/rwlock/queue.rs | 87 | //! └───────────────────────────┘ | COMMENT |
| MEDIUM | …er/rustc_codegen_cranelift/scripts/test_rustc_tests.sh | 26 | # ================ | COMMENT |
| MEDIUM | …er/rustc_codegen_cranelift/scripts/test_rustc_tests.sh | 97 | # ================== | COMMENT |
| MEDIUM | …er/rustc_codegen_cranelift/scripts/test_rustc_tests.sh | 105 | # ====================== | COMMENT |
| MEDIUM | …er/rustc_codegen_cranelift/scripts/test_rustc_tests.sh | 122 | # ============================================= | COMMENT |
| 233 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | tests/codegen-llvm/const-vector.rs | 52 | // 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 16 | COMMENT |
| CRITICAL | tests/codegen-llvm/inject-autocast.rs | 50 | // CHECK: [[A:%[0-9]+]] = call { <2 x i1>, <2 x i1> } @llvm.x86.avx512.vp2intersect.q.128(<2 x i64> {{.*}}, <2 x i64 | COMMENT |
| CRITICAL⚡ | tests/codegen-llvm/inject-autocast.rs | 98 | // CHECK: [[A:%[0-9]+]] = call x86_amx @llvm.x86.cast.vector.to.tile.v1024i8(<1024 x i8> {{.*}}) | COMMENT |
| CRITICAL⚡ | tests/codegen-llvm/inject-autocast.rs | 99 | // CHECK: [[B:%[0-9]+]] = call x86_amx @llvm.x86.cast.vector.to.tile.v1024i8(<1024 x i8> {{.*}}) | COMMENT |
| CRITICAL⚡ | tests/codegen-llvm/inject-autocast.rs | 100 | // CHECK: [[C:%[0-9]+]] = call x86_amx @llvm.x86.cast.vector.to.tile.v1024i8(<1024 x i8> {{.*}}) | COMMENT |
| CRITICAL⚡ | tests/codegen-llvm/inject-autocast.rs | 102 | // CHECK: call <1024 x i8> @llvm.x86.cast.tile.to.vector.v1024i8(x86_amx [[D]]) | COMMENT |
| CRITICAL⚡ | tests/codegen-llvm/inject-autocast.rs | 108 | // CHECK: declare { <2 x i1>, <2 x i1> } @llvm.x86.avx512.vp2intersect.q.128(<2 x i64>, <2 x i64>) | COMMENT |
| CRITICAL⚡ | tests/codegen-llvm/inject-autocast.rs | 116 | // CHECK: declare x86_amx @llvm.x86.cast.vector.to.tile.v1024i8(<1024 x i8>) | COMMENT |
| CRITICAL⚡ | tests/codegen-llvm/inject-autocast.rs | 118 | // CHECK: declare <1024 x i8> @llvm.x86.cast.tile.to.vector.v1024i8(x86_amx) | COMMENT |
| CRITICAL | compiler/rustc_codegen_cranelift/src/main_shim.rs | 69 | let entry_name = tcx.sess.target.options.entry_name.as_ref(); | CODE |
| CRITICAL | compiler/rustc_codegen_cranelift/src/driver/aot.rs | 62 | tcx.sess.opts.unstable_opts.function_sections.unwrap_or(default_function_sections), | CODE |
| CRITICAL | compiler/rustc_codegen_cranelift/src/abi/mod.rs | 906 | let exception_table = fx.bcx.func.dfg.exception_tables.push(ExceptionTableData::new( | CODE |
| CRITICAL | compiler/rustc_codegen_cranelift/src/intrinsics/mod.rs | 1434 | fx.bcx.func.dfg.exception_tables.push(ExceptionTableData::new( | CODE |
| CRITICAL | compiler/rustc_codegen_gcc/src/consts.rs | 311 | !(self.tcx.sess.opts.cg.linker_plugin_lto.enabled() | CODE |
| CRITICAL | compiler/rustc_resolve/src/diagnostics/impls.rs | 2376 | if self.tcx.sess.opts.externs.get(ident.as_str()).is_some() | CODE |
| CRITICAL | compiler/rustc_resolve/src/diagnostics/impls.rs | 3155 | let crate_is_available = self.tcx.sess.opts.externs.get(ident.as_str()).is_some(); | CODE |
| CRITICAL | compiler/rustc_infer/src/infer/snapshot/fudge.rs | 192 | let idx = vid.as_usize() - self.snapshot_vars.type_vars.0.start.as_usize(); | CODE |
| CRITICAL | compiler/rustc_infer/src/infer/snapshot/fudge.rs | 216 | let idx = vid.as_usize() - self.snapshot_vars.float_vars.0.start.as_usize(); | CODE |
| CRITICAL | compiler/rustc_infer/src/infer/snapshot/fudge.rs | 238 | let idx = vid.index() - self.snapshot_vars.region_vars.0.start.index(); | CODE |
| CRITICAL | compiler/rustc_infer/src/infer/snapshot/fudge.rs | 254 | let idx = vid.index() - self.snapshot_vars.const_vars.0.start.index(); | CODE |
| CRITICAL | compiler/rustc_query_impl/src/execution.rs | 295 | if tcx.sess.opts.jobs.frontend.is_some() { | CODE |
| CRITICAL⚡ | compiler/rustc_mir_transform/src/inline.rs | 369 | tcx.sess.opts.unstable_opts.inline_mir_forwarder_threshold.unwrap_or(30) | CODE |
| CRITICAL⚡ | compiler/rustc_mir_transform/src/inline.rs | 371 | tcx.sess.opts.unstable_opts.inline_mir_hint_threshold.unwrap_or(100) | CODE |
| CRITICAL⚡ | compiler/rustc_mir_transform/src/inline.rs | 373 | tcx.sess.opts.unstable_opts.inline_mir_threshold.unwrap_or(50) | CODE |
| CRITICAL | compiler/rustc_hir_typeck/src/expr.rs | 651 | if !tcx.sess.opts.unstable_opts.offload.is_empty() | CODE |
| CRITICAL | compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs | 2393 | self.arg_matching_ctxt.args_ctxt.call_ctxt.fn_ctxt.label_fn_like( | CODE |
| CRITICAL | compiler/rustc_hir_typeck/src/fn_ctxt/suggestions.rs | 1471 | self.tcx.sess.psess.complete_stmt_exprs_before_bin_op_lookalike.borrow().get(&sp) | CODE |
| CRITICAL | compiler/rustc_codegen_llvm/src/consts.rs | 434 | && !self.tcx.sess.opts.cg.linker_plugin_lto.enabled(); | CODE |
| CRITICAL | compiler/rustc_codegen_llvm/src/consts.rs | 439 | !(self.tcx.sess.opts.cg.linker_plugin_lto.enabled() | CODE |
| CRITICAL | compiler/rustc_codegen_llvm/src/intrinsic.rs | 230 | if tcx.sess.opts.unstable_opts.offload.is_empty() { | CODE |
| CRITICAL | compiler/rustc_codegen_llvm/src/intrinsic.rs | 1489 | if bx.cx.tcx.sess.target.supports_comdat() { | CODE |
| CRITICAL | compiler/rustc_codegen_llvm/src/intrinsic.rs | 1832 | if !tcx.sess.opts.unstable_opts.autodiff.contains(&rustc_session::config::AutoDiff::Enable) { | CODE |
| CRITICAL | compiler/rustc_codegen_llvm/src/intrinsic.rs | 1843 | if lto != rustc_session::config::Lto::Fat && !tcx.sess.opts.cg.linker_plugin_lto.enabled() { | CODE |
| CRITICAL | compiler/rustc_codegen_llvm/src/attributes.rs | 364 | if tcx.sess.opts.cg.profile_generate.enabled() { | CODE |
| CRITICAL | compiler/rustc_codegen_llvm/src/typetree.rs | 83 | if !tcx.sess.opts.unstable_opts.autodiff.contains(&rustc_session::config::AutoDiff::Enable) { | CODE |
| CRITICAL | compiler/rustc_codegen_llvm/src/typetree.rs | 86 | if tcx.sess.opts.unstable_opts.autodiff.contains(&rustc_session::config::AutoDiff::NoTT) { | CODE |
| CRITICAL | compiler/rustc_codegen_llvm/src/declare.rs | 78 | if cx.tcx.sess.opts.cg.no_redzone.unwrap_or(cx.tcx.sess.target.disable_redzone) { | CODE |
| CRITICAL⚡ | compiler/rustc_codegen_llvm/src/builder.rs | 2057 | let is_diag = self.tcx.sess.opts.unstable_opts.sanitizer_cfi_diag.unwrap_or(false); | CODE |
| CRITICAL⚡ | compiler/rustc_codegen_llvm/src/builder.rs | 2059 | self.tcx.sess.opts.unstable_opts.sanitizer_cfi_recover.unwrap_or(false); | CODE |
| CRITICAL⚡ | compiler/rustc_codegen_llvm/src/builder.rs | 2061 | self.tcx.sess.opts.unstable_opts.sanitizer_cfi_minimal_runtime.unwrap_or(false); | CODE |
| CRITICAL | compiler/rustc_codegen_llvm/src/context.rs | 683 | let sanitizer_ignorelist = if !tcx.sess.opts.unstable_opts.sanitizer_ignorelist.is_empty() { | CODE |
| CRITICAL | compiler/rustc_codegen_llvm/src/back/llvm_backend.rs | 339 | if tcx.sess.opts.unstable_opts.offload.iter().any(|o| matches!(o, Offload::Device(_))) | CODE |
| CRITICAL | compiler/rustc_codegen_llvm/src/back/llvm_backend.rs | 340 | || tcx.sess.opts.unstable_opts.offload.iter().any(|o| matches!(o, Offload::Host(_))) | CODE |
| CRITICAL | compiler/rustc_metadata/src/creader.rs | 1070 | tcx.sess.instrument_coverage() || tcx.sess.opts.cg.profile_generate.enabled(); | CODE |
| CRITICAL | compiler/rustc_metadata/src/rmeta/encoder.rs | 858 | extra_filename: self.tcx.sess.opts.cg.extra_filename.clone(), | CODE |
| CRITICAL | compiler/rustc_metadata/src/rmeta/encoder.rs | 2609 | if tcx.sess.opts.jobs.frontend.is_some() { | CODE |
| CRITICAL | compiler/rustc_metadata/src/rmeta/decoder.rs | 452 | self.tcx.sess.psess.attr_id_generator.mk_attr_id() | CODE |
| CRITICAL | compiler/rustc_metadata/src/rmeta/decoder.rs | 1765 | tcx.sess.opts.unstable_opts.simulate_remapped_rust_src_base.as_deref(), | CODE |
| CRITICAL⚡ | compiler/rustc_middle/src/queries.rs | 2617 | desc { "normalizing `{}`", goal.canonical.value.value.value.skip_normalization() } | CODE |
| CRITICAL⚡ | compiler/rustc_middle/src/queries.rs | 2627 | desc { "normalizing `{:?}`", goal.canonical.value.value.value.skip_normalization() } | CODE |
| CRITICAL⚡ | compiler/rustc_middle/src/queries.rs | 2637 | desc { "normalizing `{:?}`", goal.canonical.value.value.value.skip_normalization() } | CODE |
| CRITICAL⚡ | compiler/rustc_middle/src/queries.rs | 2647 | desc { "normalizing `{:?}`", goal.canonical.value.value.value.skip_normalization() } | CODE |
| CRITICAL | compiler/rustc_middle/src/ty/layout.rs | 1330 | if !tcx.sess.opts.unstable_opts.panic_in_drop.unwinds() | CODE |
| CRITICAL | compiler/rustc_middle/src/ty/typetree.rs | 14 | if tcx.sess.opts.unstable_opts.autodiff.contains(&rustc_session::config::AutoDiff::NoTT) { | CODE |
| CRITICAL | compiler/rustc_middle/src/ty/typetree.rs | 44 | if !tcx.sess.opts.unstable_opts.autodiff.contains(&rustc_session::config::AutoDiff::Enable) { | CODE |
| CRITICAL | compiler/rustc_middle/src/ty/typetree.rs | 47 | if tcx.sess.opts.unstable_opts.autodiff.contains(&rustc_session::config::AutoDiff::NoTT) { | CODE |
| CRITICAL | compiler/rustc_middle/src/ty/context.rs | 1158 | || self.sess.opts.unstable_opts.metrics_dir.is_some() | CODE |
| CRITICAL | compiler/rustc_middle/src/mir/pretty.rs | 61 | Self { include_extra_comments: tcx.sess.opts.unstable_opts.mir_include_spans.is_enabled() } | CODE |
| CRITICAL | compiler/rustc_expand/src/expand.rs | 655 | if self.cx.sess.opts.incremental.is_some() { | CODE |
| CRITICAL | compiler/rustc_monomorphize/src/collector.rs | 1490 | if let Some(manifest_path) = tcx.sess.opts.unstable_opts.offload.iter().find_map(|o| { | CODE |
| 36 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | typos.toml | 13 | # generated lorem ipsum texts | COMMENT |
| LOW | tests/ui/test-attrs/test-on-not-fn.rs | 13 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| LOW | tests/ui/test-attrs/test-on-not-fn.rs | 13 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| LOW | tests/rustdoc-gui/src/lib2/lib.rs | 125 | /// This also has a really long doccomment. Lorem ipsum dolor sit amet, | COMMENT |
| LOW | tests/rustdoc-gui/src/lib2/lib.rs | 125 | /// This also has a really long doccomment. Lorem ipsum dolor sit amet, | COMMENT |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-2.rs | 3 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-2.rs | 3 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-2.rs | 4 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-2.rs | 4 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-2.rs | 5 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-2.rs | 5 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-2.rs | 6 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-2.rs | 6 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-2.rs | 7 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-2.rs | 7 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-2.rs | 8 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-2.rs | 8 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-2.rs | 9 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-2.rs | 9 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-2.rs | 10 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-2.rs | 10 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-2.rs | 11 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-2.rs | 11 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-2.rs | 12 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-2.rs | 12 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-3.rs | 4 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-3.rs | 4 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-3.rs | 5 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-3.rs | 5 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-3.rs | 6 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-3.rs | 6 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-3.rs | 7 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-3.rs | 7 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-3.rs | 8 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-3.rs | 8 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-3.rs | 9 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-3.rs | 9 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-3.rs | 10 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-3.rs | 10 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-3.rs | 11 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-3.rs | 11 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-3.rs | 12 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-3.rs | 12 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-3.rs | 13 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | …stdoc-gui/src/scrape_examples/examples/check-many-3.rs | 13 | scrape_examples::test_many(); /* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | tests/rustdoc-gui/src/test_docs/lib.rs | 419 | /// | Lorem Ipsum, Lorem Ipsum | Lorem Ipsum, Lorem Ipsum | | COMMENT |
| LOW⚡ | tests/rustdoc-gui/src/test_docs/lib.rs | 420 | /// | Lorem Ipsum, Lorem Ipsum | Lorem Ipsum, Lorem Ipsum | | COMMENT |
| LOW⚡ | tests/rustdoc-gui/src/test_docs/lib.rs | 421 | /// | Lorem Ipsum, Lorem Ipsum | Lorem Ipsum, Lorem Ipsum | | COMMENT |
| LOW⚡ | tests/rustdoc-gui/src/test_docs/lib.rs | 422 | /// | Lorem Ipsum, Lorem Ipsum | Lorem Ipsum, Lorem Ipsum | | COMMENT |
| LOW⚡ | tests/rustdoc-gui/src/test_docs/lib.rs | 430 | /// | Lorem Ipsum, Lorem Ipsum | Lorem Ipsum, Lorem Ipsum | | COMMENT |
| LOW | tests/rustdoc-gui/src/test_docs/lib.rs | 670 | //! * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque et libero ut leo | COMMENT |
| LOW | tests/rustdoc-gui/src/test_docs/lib.rs | 670 | //! * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque et libero ut leo | COMMENT |
| LOW | library/coretests/benches/pattern.rs | 44 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse quis lorem \ | CODE |
| LOW | library/coretests/benches/pattern.rs | 44 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse quis lorem \ | CODE |
| LOW | library/coretests/benches/hash/sip.rs | 47 | let s = "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor \ | CODE |
| LOW | library/coretests/benches/hash/sip.rs | 47 | let s = "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor \ | CODE |
| LOW | library/std/src/fs.rs | 427 | /// fs::write("foo.txt", b"Lorem ipsum")?; | COMMENT |
| LOW | library/alloctests/tests/str.rs | 729 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse quis lorem \ | CODE |
| LOW | library/alloctests/tests/str.rs | 729 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse quis lorem \ | CODE |
| LOW⚡ | library/alloctests/benches/str.rs | 122 | let haystack = "Lorem ipsum dolor sit amet, consectetur adipiscing elit."; | CODE |
| 315 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | REUSE.toml | 9 | # just set a blanket license and copyright notice for a whole sub-tree at a | COMMENT |
| MEDIUM | bootstrap.example.toml | 789 | # Prints each test name as it is executed, to help debug issues in the test harness itself. | COMMENT |
| MEDIUM | bootstrap.example.toml | 1115 | # in conjunction with either an llvm-config or build.submodules = false. | COMMENT |
| MEDIUM | tests/ui/argument-suggestions/invalid_arguments.rs | 1 | // More nuanced test cases for invalid arguments #65853 | COMMENT |
| MEDIUM | tests/ui/privacy/sysroot-private.rs | 4 | //! This test would be more robust if we could patch the sysroot with an "evil" crate that | COMMENT |
| MEDIUM | tests/ui/privacy/sysroot-private.rs | 7 | //! of `std`'s dependencies, but may not be robust against dependency upgrades/changes. | COMMENT |
| MEDIUM | tests/ui/associated-types/issue-47139-2.rs | 7 | // In an effort to make the regr test more robust, I am including both | COMMENT |
| MEDIUM | tests/ui/layout/trivial-bounds-sized.rs | 39 | // 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.rs | 16 | () => drop([return; 1]), // Definitely has side effects | CODE |
| MEDIUM | tests/ui/sanitizer/thread.rs | 10 | // is necessary to make the test robust. Without the barrier data race detection | COMMENT |
| MEDIUM | …sts/ui/attributes/reexport-test-harness-entry-point.rs | 1 | //! Check that `#[reexport_test_harness_main]` correctly reexports the test harness entry point | COMMENT |
| MEDIUM | …ts/ui/binop/can-have-side-effects-consider-operands.rs | 16 | () => drop(5 % calls_are_considered_side_effects()), // Definitely has side effects | CODE |
| MEDIUM | tests/rustdoc-js/auxiliary/emptytype.rs | 18 | // robust, in the sense that it actually tests the code and isn't magically | COMMENT |
| MEDIUM | tests/debuginfo/basic-stepping.rs | 14 | // be optimized away. To make regression testing more robust, we also want to | COMMENT |
| MEDIUM | …doc-html/assoc/cross-crate-hidden-assoc-trait-items.rs | 11 | // (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.rs | 8 | // This is more robust than checking for the absence of the associated type. | COMMENT |
| MEDIUM | tests/mir-opt/jump_threading.rs | 518 | /// Verify that we can leverage the existence of an `Assume` terminator. | COMMENT |
| MEDIUM | library/alloc/src/str.rs | 495 | /// Essentially, this consists of uppercasing the first cased letter | COMMENT |
| MEDIUM | library/alloc/src/boxed.rs | 1509 | // As of August 2026, we cannot utilize `Box::leak` | COMMENT |
| MEDIUM | library/alloc/src/fmt.rs | 61 | //! Essentially, parameters that explicitly name their argument do not affect | COMMENT |
| MEDIUM | library/alloc/src/fmt.rs | 72 | //! leverage named parameters. Named parameters are listed at the end of the | COMMENT |
| MEDIUM | library/alloc/src/raw_vec/mod.rs | 905 | /// prevent double-free or use-after-free. Essentially, do not do anything with the caller | COMMENT |
| MEDIUM | library/alloc/src/io/buffered/bufreader.rs | 449 | // If `buf` is empty--the most common case--we can leverage `append_to_string` | COMMENT |
| MEDIUM | library/core/src/pin.rs | 1965 | // Furthermore, in the case of `Clone`, cloning a `Pin<Pin<P>>` will utilize | COMMENT |
| MEDIUM | library/core/src/asserting.rs | 5 | // 'specialization' is robust enough (5 years? 10 years? Never?), `Capture` can be specialized | COMMENT |
| MEDIUM | library/core/src/slice/sort/mod.rs | 1 | //! This module and the contained sub-modules contains the code for efficient and robust sort | COMMENT |
| MEDIUM | library/core/src/slice/sort/unstable/quicksort.rs | 143 | // have large leverage e.g. `u64` and `String`. | COMMENT |
| MEDIUM | library/core/src/io/error.rs | 761 | /// tests more robust. In particular, if you want to verify that your code does | COMMENT |
| MEDIUM | library/core/src/io/error.rs | 762 | /// produce an unrecognized error kind, the robust solution is to check for all | COMMENT |
| MEDIUM | library/core/src/num/imp/flt2dec/strategy/grisu.rs | 447 | // i.e., `plus1 - plus1w(n) <= minus0` or `plus1 - plus1w(n) >= plus0`. we utilize the facts | COMMENT |
| MEDIUM | library/core/src/ffi/c_str.rs | 35 | /// Instead, safe wrappers of FFI functions may leverage [`CStr::as_ptr`] and the unsafe | COMMENT |
| MEDIUM | library/core/src/ffi/c_str.rs | 107 | // this an unsized type. Essentially `sizeof(&CStr)` should be the | COMMENT |
| MEDIUM | library/core/src/ptr/const_ptr.rs | 90 | /// pointers. The pointer is cast to a sized pointee to utilize offset operations and then | COMMENT |
| MEDIUM | library/core/src/ptr/mut_ptr.rs | 73 | /// pointers. The pointer is cast to a sized pointee to utilize offset operations and then | COMMENT |
| MEDIUM | library/core/src/ptr/mod.rs | 2376 | // sufficiently for LLVM to be able to utilize the various optimizations it knows about. | COMMENT |
| MEDIUM | library/test/src/stats.rs | 21 | /// [paper]: https://www.cs.cmu.edu/~quake-papers/robust-arithmetic.ps | COMMENT |
| MEDIUM⚡ | library/test/src/stats.rs | 52 | /// Note: this is not a robust statistic for non-normal distributions. Prefer the | COMMENT |
| MEDIUM⚡ | library/test/src/stats.rs | 60 | /// Note: this is not a robust statistic for non-normal distributions. Prefer the | COMMENT |
| MEDIUM⚡ | library/test/src/stats.rs | 65 | /// robust (distribution-agnostic) estimator of sample variability. Use this in preference to | COMMENT |
| MEDIUM | library/std/src/net/socket_addr/tests.rs | 136 | // This form of the test is more robust: even when the DNS server | COMMENT |
| MEDIUM | library/std/src/sys/sync/once/queue.rs | 181 | // fast path. Essentially, this should help generate more straight line code | COMMENT |
| MEDIUM | library/std/src/sys/fs/unix.rs | 1910 | // These platforms support `fchmodat`, so utilize this syscall over `open` + `fchmod`. | COMMENT |
| MEDIUM | library/std/src/ffi/os_str.rs | 401 | /// # process_data("123").expect("why is the test harness OOMing on 3 bytes?"); | COMMENT |
| MEDIUM | library/std/src/ffi/os_str.rs | 472 | /// # process_data("123").expect("why is the test harness OOMing on 3 bytes?"); | COMMENT |
| MEDIUM | library/std/src/collections/mod.rs | 184 | //! are a powerful and robust mechanism used throughout Rust's | COMMENT |
| MEDIUM | library/std/src/fs/dirs.rs | 7 | /// user, nor that there is a directory at that path. A robust application | COMMENT |
| MEDIUM | library/std/src/fs/dirs.rs | 33 | /// user, nor that there is a directory at that path. A robust application | COMMENT |
| MEDIUM | library/std/src/fs/dirs.rs | 79 | /// may not, depending on system configuration. A robust application | COMMENT |
| LOW | library/compiler-builtins/ci/ci-util.py | 425 | # just use `--limit=1`, jq filtering happens after limiting. We also | COMMENT |
| LOW | library/compiler-builtins/ci/ci-util.py | 426 | # cannot just use `--workflow` because GH gets confused from | COMMENT |
| LOW | library/compiler-builtins/.github/workflows/main.yaml | 196 | # Non-linux tests just use our raw script | COMMENT |
| MEDIUM | library/compiler-builtins/libm-test/Cargo.toml | 75 | # No harness so that we can skip tests at runtime based on env. Prefixed with | COMMENT |
| MEDIUM | library/stdarch/crates/core_arch/src/mod.rs | 178 | /// largely left up to you as it can be pretty nuanced depending on | COMMENT |
| MEDIUM | library/stdarch/ci/run.sh | 77 | # harness isn't trying to capture output, otherwise we won't get any useful | COMMENT |
| MEDIUM | compiler/rustc_errors/src/lib.rs | 618 | // if/when we have a more robust macro-friendly replacement for `(span, key)` as a key. | COMMENT |
| MEDIUM | compiler/rustc_resolve/src/diagnostics/impls.rs | 134 | /// `source_map` functions and this function to something more robust. | COMMENT |
| MEDIUM | compiler/rustc_symbol_mangling/src/lib.rs | 88 | //! 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.rs | 492 | // For other cases, leverage the LUB code to find the LUB and | COMMENT |
| MEDIUM | compiler/rustc_query_impl/src/execution.rs | 62 | // Avoid custom handlers and only use the robust `create_cycle_error` for nested cycle errors | COMMENT |
| MEDIUM | compiler/rustc_data_structures/src/tagged_ptr.rs | 1 | //! This module implements tagged pointers. In order to utilize the pointer | COMMENT |
| 52 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/ui/include-macros/same-file-in-two-crates.rs | 3 | // when there is some auto-generated code that is part of both a library and an | COMMENT |
| HIGH | library/alloc/src/vec/mod.rs | 390 | /// The allocator will return an allocation that is at least as large as requested, but it may be larger. | COMMENT |
| HIGH | compiler/rustc_mir_build/src/builder/matches/mod.rs | 2328 | // Controls whether bindings are declared or not, as requested by the caller. | COMMENT |
| HIGH | …/tools/rustfmt/tests/target/itemized-blocks/no_wrap.rs | 54 | /// * `to` is the receiving (local) [`ActorId`], as requested by the remote theater | COMMENT |
| HIGH | …/tools/rustfmt/tests/target/itemized-blocks/no_wrap.rs | 64 | /// * `to` is the receiving (local) [`ActorId`], as requested by the remote theater | COMMENT |
| HIGH | …/tools/rustfmt/tests/target/itemized-blocks/no_wrap.rs | 78 | /// * `to` is the receiving (local) [`ActorId`], as requested by the remote theater | COMMENT |
| HIGH | src/tools/rustfmt/tests/target/itemized-blocks/wrap.rs | 109 | /// as requested by the remote theater | COMMENT |
| HIGH | src/tools/rustfmt/tests/target/itemized-blocks/wrap.rs | 127 | /// as requested by the remote theater | COMMENT |
| HIGH | src/tools/rustfmt/tests/target/itemized-blocks/wrap.rs | 145 | /// as requested by the remote theater | COMMENT |
| HIGH | …/tools/rustfmt/tests/source/itemized-blocks/no_wrap.rs | 54 | /// * `to` is the receiving (local) [`ActorId`], as requested by the remote theater | COMMENT |
| HIGH | …/tools/rustfmt/tests/source/itemized-blocks/no_wrap.rs | 64 | /// * `to` is the receiving (local) [`ActorId`], as requested by the remote theater | COMMENT |
| HIGH | …/tools/rustfmt/tests/source/itemized-blocks/no_wrap.rs | 78 | /// * `to` is the receiving (local) [`ActorId`], as requested by the remote theater | COMMENT |
| HIGH | src/tools/rustfmt/tests/source/itemized-blocks/wrap.rs | 62 | /// * `to` is the receiving (local) [`ActorId`], as requested by the remote theater | COMMENT |
| HIGH | src/tools/rustfmt/tests/source/itemized-blocks/wrap.rs | 72 | /// * `to` is the receiving (local) [`ActorId`], as requested by the remote theater | COMMENT |
| HIGH | src/tools/rustfmt/tests/source/itemized-blocks/wrap.rs | 86 | /// * `to` is the receiving (local) [`ActorId`], as requested by the remote theater | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/rustdoc-html/inherent-projections.rs | 28 | // The current test checks for the buggy behavior for demonstration purposes. | COMMENT |
| MEDIUM | …ts/rustdoc-html/intra-doc/inherent-associated-types.rs | 25 | // The current test checks for the buggy behavior for demonstration purposes. | COMMENT |
| LOW | tests/rustdoc-html/doc-cfg/always-true.rs | 14 | // If you change the selector in this one, don't forget to update the one of the `f` | COMMENT |
| LOW | tests/mir-opt/issue_62289.rs | 2 | // check that we don't forget to drop the Box if we early return before | COMMENT |
| MEDIUM | library/core/src/pin.rs | 250 | //! As discussed above, this promise must be upheld manually by [`unsafe`] code which interacts | COMMENT |
| LOW | library/core/src/fmt/mod.rs | 1743 | #[must_use = "don't forget to write the post padding"] | COMMENT |
| LOW | library/core/src/fmt/mod.rs | 1743 | #[must_use = "don't forget to write the post padding"] | COMMENT |
| MEDIUM | library/core/src/ptr/mod.rs | 359 | //! As discussed above, integer-to-pointer casts are not possible with Strict Provenance APIs. | COMMENT |
| MEDIUM | library/core/src/future/future.rs | 87 | /// `poll(2)` or `select(2)` syscalls on Unix it's worth noting that futures | COMMENT |
| MEDIUM | library/core/src/mem/manually_drop.rs | 175 | #[must_use = "if you don't need the wrapper, you can use `mem::forget` instead"] | COMMENT |
| MEDIUM | library/core/src/mem/manually_drop.rs | 217 | #[must_use = "if you don't need the value, you can use `ManuallyDrop::drop` instead"] | COMMENT |
| MEDIUM | library/std/src/fs.rs | 141 | #[diagnostic::on_move(note = "you can use `File::try_clone` to duplicate a `File` instance")] | COMMENT |
| MEDIUM | library/std/src/os/unix/io/mod.rs | 58 | //! if the API provides `BorrowedFd` access, since as mentioned earlier, | COMMENT |
| MEDIUM | …/compiler-builtins/compiler-builtins/src/probestack.rs | 39 | //! Finally it's worth noting that at the time of this writing LLVM only has | COMMENT |
| MEDIUM | …brary/portable-simd/crates/core_simd/examples/nbody.rs | 175 | // Good enough for demonstration purposes, not going for strictness here. | COMMENT |
| MEDIUM | compiler/rustc_resolve/src/diagnostics/mod.rs | 685 | #[label("you can use `as` to change the binding name of the import")] | COMMENT |
| LOW | compiler/rustc_hir/src/intravisit.rs | 23 | //! `intravisit::Visitor` impl, implement methods like `visit_expr()` (don't forget to invoke | COMMENT |
| LOW | compiler/rustc_trait_selection/src/traits/normalize.rs | 424 | // to make sure we don't forget to fold the args regardless. | COMMENT |
| MEDIUM | compiler/rustc_mir_transform/src/elaborate_drops.rs | 34 | /// It's worth noting that a MIR containing a Drop without an associated move path is probably ill | COMMENT |
| LOW | compiler/rustc_passes/src/reachable.rs | 504 | // (But if you implement this, don't forget to take into account that vtables can also | COMMENT |
| LOW | compiler/rustc_const_eval/src/interpret/memory.rs | 448 | // Don't forget to remember size and align of this now-dead allocation | COMMENT |
| LOW | compiler/rustc_const_eval/src/interpret/call.rs | 679 | // Don't forget to check the return type! | COMMENT |
| LOW | compiler/rustc_session/src/config/cfg.rs | 377 | // Don't forget to update `src/doc/rustc/src/check-cfg.md` | COMMENT |
| LOW | compiler/rustc_parse/src/parser/expr.rs | 355 | // Note: when adding new unary operators, don't forget to adjust TokenKind::can_begin_expr() | COMMENT |
| LOW | compiler/rustc_parse/src/parser/expr.rs | 1302 | // Note: adding new syntax here? Don't forget to adjust `TokenKind::can_begin_expr()`. | COMMENT |
| MEDIUM | compiler/rustc_hir_analysis/src/check/wfcheck.rs | 2767 | #[note("you can use the `{$candidate}` lifetime directly, in place of `{$victim}`")] | COMMENT |
| LOW | compiler/rustc_lint/src/levels.rs | 453 | /// Don't forget to call `pop`! | COMMENT |
| LOW | src/tools/linkchecker/linkcheck.sh | 17 | # --all Check all books. This can help make sure you don't break links | COMMENT |
| LOW | src/tools/linkchecker/main.rs | 545 | "NOTE: if you are adding or renaming a markdown file in a mdBook, don't forget to \ | CODE |
| LOW | src/tools/rust-analyzer/crates/hir-ty/src/infer.rs | 1630 | // don't forget to handle them here. | COMMENT |
| LOW | src/tools/rust-analyzer/crates/ide/src/typing.rs | 36 | // Don't forget to add new trigger characters to `server_capabilities` in `caps.rs`. | COMMENT |
| LOW | …st-analyzer/crates/ide/src/syntax_highlighting/tags.rs | 44 | // 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.rs | 60 | // are to lift this limitation, don't forget to make `edit_struct_def()` consider macro files | COMMENT |
| LOW | src/tools/rust-analyzer/.vscode/launch.json | 105 | // Don't forget to set `debug = 2` in `Cargo.toml` before building the server | COMMENT |
| MEDIUM | …s/miri/src/borrow_tracker/tree_borrows/tree_visitor.rs | 137 | // Reverse the stack, as discussed above. | COMMENT |
| LOW | src/tools/miri/src/concurrency/sync.rs | 264 | // Don't forget to write the return value. | COMMENT |
| MEDIUM | src/tools/clippy/lintcheck/lintcheck_crates.toml | 6 | # For testing you can also add sources to git and local repos like this: | COMMENT |
| LOW | src/tools/clippy/.github/workflows/clippy_mq.yml | 33 | # NOTE: If you modify this job, make sure you copy the changes to clippy.yml | COMMENT |
| LOW | src/tools/clippy/.github/workflows/clippy_mq.yml | 198 | # NOTE: If you modify this job, make sure you copy the changes to clippy_pr.yml | COMMENT |
| LOW | src/tools/clippy/.github/workflows/clippy_pr.yml | 21 | # NOTE: If you modify this job, make sure you copy the changes to clippy_mq.yml | COMMENT |
| LOW | src/tools/clippy/.github/workflows/clippy_pr.yml | 66 | # NOTE: If you modify this job, make sure you copy the changes to clippy_mq.yml | COMMENT |
| LOW | src/etc/debugger_tester/lldb/batchmode.py | 81 | # If the command introduced any breakpoints, make sure to register | COMMENT |
| LOW | src/librustdoc/clean/types.rs | 949 | /// derive and attribute, potentially multiple at once). Don't forget to look into the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/traits/object/crash-due-to-projections-modulo-norm.rs | 5 | // Step 1: Create two names for a single type: `Thing` and `AlsoThing` | COMMENT |
| LOW⚡ | …/traits/object/crash-due-to-projections-modulo-norm.rs | 17 | // Step 2: Create names for a single trait object type: `TraitObject` and `AlsoTraitObject` | COMMENT |
| LOW⚡ | …/traits/object/crash-due-to-projections-modulo-norm.rs | 25 | // Step 3: Force the compiler to check whether the two names are the same type | COMMENT |
| LOW⚡ | …er-builtins/src/int/specialized_div_rem/binary_long.rs | 66 | // Step 2: Continue based on `sub`. The `quo` bits start accumulating. | COMMENT |
| LOW | compiler/rustc_codegen_gcc/src/builder.rs | 2126 | // Step 2: We use two comparisons and two selects, with %s1 being the | COMMENT |
| LOW | compiler/rustc_codegen_gcc/src/builder.rs | 2146 | // Step 3: NaN replacement. | COMMENT |
| LOW | compiler/rustc_codegen_gcc/src/intrinsic/simd.rs | 321 | // Step 1: Generate pre-reversed low and high nibbles as a vector. | COMMENT |
| LOW | compiler/rustc_codegen_gcc/src/intrinsic/simd.rs | 349 | // Step 2: Byte-swap the input. | COMMENT |
| LOW⚡ | compiler/rustc_codegen_gcc/src/intrinsic/simd.rs | 370 | // Step 3: Mask off the low and high nibbles of each byte in the byte-swapped input. | COMMENT |
| LOW⚡ | compiler/rustc_codegen_gcc/src/intrinsic/simd.rs | 374 | // Step 4: Shuffle the pre-reversed low and high-nibbles using the masked nibbles as a shuffle mask. | COMMENT |
| LOW⚡ | compiler/rustc_codegen_gcc/src/intrinsic/simd.rs | 378 | // Step 5: Combine the results of the shuffle back together and cast back to the original type. | COMMENT |
| LOW | compiler/rustc_passes/src/reachable.rs | 164 | // Step 2: Mark all symbols that the symbols on the worklist touch. | COMMENT |
| LOW | compiler/rustc_passes/src/reachable.rs | 478 | // Step 1: Seed the worklist with all nodes which were found to be public as | COMMENT |
| LOW | compiler/rustc_passes/src/reachable.rs | 519 | // Step 2: Mark all symbols that the symbols on the worklist touch. | COMMENT |
| LOW | compiler/rustc_target/src/asm/mod.rs | 437 | // NOTE: This function isn't used at the moment, but is needed to support | COMMENT |
| LOW | compiler/rustc_target/src/asm/mod.rs | 897 | // NOTE: This function isn't used at the moment, but is needed to support | COMMENT |
| LOW | compiler/rustc_hir_analysis/src/hir_ty_lowering/mod.rs | 3848 | // Step 1: check that every field is unique, and keep a list of field that we know are | COMMENT |
| LOW | compiler/rustc_hir_analysis/src/hir_ty_lowering/mod.rs | 3868 | // Step 2: check that the viewed type is a struct. | COMMENT |
| LOW | compiler/rustc_hir_analysis/src/hir_ty_lowering/mod.rs | 3891 | // Step 3: check that every viewed field exists. | COMMENT |
| LOW | …tools/rust-analyzer/crates/syntax/src/ast/token_ext.rs | 346 | // NOTE: This method should only be used for highlighting ranges. The unescaped | COMMENT |
| LOW | src/tools/miri/src/helpers.rs | 758 | // Step 1: determine the length. | COMMENT |
| LOW | src/tools/miri/src/helpers.rs | 772 | // Step 2: get the bytes. | COMMENT |
| LOW⚡ | …c/tools/miri/src/borrow_tracker/stacked_borrows/mod.rs | 281 | // Step 1: Find granting item. | COMMENT |
| LOW⚡ | …c/tools/miri/src/borrow_tracker/stacked_borrows/mod.rs | 285 | // Step 2: Remove incompatible items above them. Make sure we do not remove protected | COMMENT |
| LOW⚡ | …c/tools/miri/src/borrow_tracker/stacked_borrows/mod.rs | 366 | // Step 1: Make a write access. | COMMENT |
| LOW⚡ | …c/tools/miri/src/borrow_tracker/stacked_borrows/mod.rs | 370 | // Step 2: Pretend we remove the remaining items, checking if any are strongly protected. | COMMENT |
| LOW | src/tools/clippy/README.md | 61 | #### Step 1: Install Rustup | COMMENT |
| LOW | src/tools/clippy/README.md | 73 | #### Step 2: Install Clippy | COMMENT |
| LOW | src/tools/clippy/README.md | 83 | #### Step 3: Run Clippy | COMMENT |
| LOW | src/doc/rustc-dev-guide/src/test-implementation.md | 41 | ## Step 1: Re-Exporting | COMMENT |
| LOW | src/doc/rustc-dev-guide/src/test-implementation.md | 83 | ## Step 2: Harness generation | COMMENT |
| LOW | src/doc/rustc-dev-guide/src/test-implementation.md | 106 | ## Step 3: Test object generation | COMMENT |
| LOW | src/doc/rustc-dev-guide/src/panic-implementation.md | 3 | ## Step 1: Invocation of the `panic!` macro. | COMMENT |
| LOW | src/doc/rustc-dev-guide/src/panic-implementation.md | 99 | ## Step 2: The panic runtime | COMMENT |
| LOW | src/doc/rustc-dev-guide/src/tests/adding.md | 57 | ### Step 1: Add a test file | COMMENT |
| LOW | src/doc/rustc-dev-guide/src/tests/adding.md | 99 | ### Step 2: Generate the expected output | COMMENT |
| LOW | src/doc/rustc-dev-guide/src/tests/adding.md | 122 | ### Step 3: Add error annotations | COMMENT |
| LOW | src/doc/rustc-dev-guide/src/tests/adding.md | 147 | ### Step 4: Review the output | COMMENT |
| LOW | src/doc/rustc-dev-guide/src/tests/adding.md | 183 | ### Step 5: Check other tests | COMMENT |
| LOW⚡ | …rc/building/bootstrapping/bootstrap-in-dependencies.md | 41 | ### 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.md | 45 | ### Step 2: update the crate ([#821](https://github.com/rust-lang/compiler-builtins/pull/821)) | COMMENT |
| LOW⚡ | …rc/building/bootstrapping/bootstrap-in-dependencies.md | 49 | ### 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.md | 53 | ### Step 4: remove the old behavior from the compiler ([#139753](https://github.com/rust-lang/rust/pull/139753)) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | x.py | 5 | # This file is only a "symlink" to bootstrap.py, all logic should go there. | COMMENT |
| MEDIUM | library/std/src/os/unix/fs/dirs.rs | 526 | # This file is written by xdg-user-dirs-update | COMMENT |
| MEDIUM | …y/stdarch/crates/intrinsic-test/src/common/gen_rust.rs | 76 | r#"# This file is automatically @generated by Cargo. | CODE |
| MEDIUM | .github/workflows/ci.yml | 1 | # This file defines our primary CI workflow that runs on pull requests | COMMENT |
| MEDIUM | compiler/rustc_codegen_cranelift/patches/rand-lock.toml | 1 | # This file is automatically @generated by Cargo. | COMMENT |
| MEDIUM | …mpiler/rustc_codegen_cranelift/patches/regex-lock.toml | 1 | # This file is automatically @generated by Cargo. | COMMENT |
| MEDIUM | compiler/rustc_thread_pool/src/lib.rs | 152 | /// ## Creating a ThreadPool | COMMENT |
| MEDIUM | compiler/rustc_thread_pool/src/thread_pool/mod.rs | 28 | /// ## Creating a ThreadPool | COMMENT |
| MEDIUM | compiler/rustc_target/src/spec/mod.rs | 20 | //! # Defining a new target | COMMENT |
| MEDIUM | src/tools/rust-installer/install-template.sh | 532 | # Create the installed manifest, which we will fill in with absolute file paths | COMMENT |
| MEDIUM | src/tools/rust-installer/install-template.sh | 950 | # Create the manifest directory, where we will put our logs | COMMENT |
| MEDIUM | src/tools/rust-installer/install-template.sh | 970 | # Create the manifest directory again! uninstall_legacy | COMMENT |
| MEDIUM | src/tools/miri/rustfmt.toml | 13 | # This file is copy-pasted from the tracing_chrome crate and should remain like the original. | COMMENT |
| MEDIUM | src/tools/miri/ci/vm-prepare.sh | 5 | # This file is inspired from <https://github.com/rust-lang/libc>. | COMMENT |
| MEDIUM | src/tools/miri/.github/workflows/ci.yml | 257 | # Create a token for the next step so it can create a PR that actually runs CI. | COMMENT |
| MEDIUM | src/tools/miri/.github/workflows/ci.yml | 291 | # Create a PR | COMMENT |
| MEDIUM | src/ci/shared.sh | 4 | # This file is intended to be sourced with `. shared.sh` or | COMMENT |
| MEDIUM | src/ci/docker/scripts/shared.sh | 4 | # This file is intended to be sourced with `. shared.sh` or | COMMENT |
| MEDIUM | src/ci/github-actions/jobs.yml | 1 | # This file contains definitions of CI job parameters that are loaded | COMMENT |
| MEDIUM | src/etc/lldb_lookup.py | 60 | # This file contains lookup functions that associate rust types with their synthetic/summary | COMMENT |
| MEDIUM | src/etc/lldb_providers.py | 32 | # This file contains two kinds of pretty-printers: summary and synthetic. | COMMENT |
| MEDIUM | src/etc/debugger_tester/lldb/batchmode.py | 239 | # Create a target from a file and arch | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/traits/object/crash-due-to-projections-modulo-norm.rs | 5 | // Step 1: Create two names for a single type: `Thing` and `AlsoThing` | COMMENT |
| LOW⚡ | …/traits/object/crash-due-to-projections-modulo-norm.rs | 17 | // Step 2: Create names for a single trait object type: `TraitObject` and `AlsoTraitObject` | COMMENT |
| LOW⚡ | …/traits/object/crash-due-to-projections-modulo-norm.rs | 25 | // Step 3: Force the compiler to check whether the two names are the same type | COMMENT |
| LOW | …sts/ui/wf/wf-packed-on-proj-of-type-as-unimpl-trait.rs | 6 | // So, we need to check if a given type needs drop-glue. That requires | COMMENT |
| LOW⚡ | …er-builtins/src/int/specialized_div_rem/binary_long.rs | 59 | // Step 0: `sub` is negative, so there is not full normalization, so no `quo` bit is set | COMMENT |
| LOW⚡ | …er-builtins/src/int/specialized_div_rem/binary_long.rs | 63 | // 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.rs | 66 | // Step 2: Continue based on `sub`. The `quo` bits start accumulating. | COMMENT |
| LOW | compiler/rustc_codegen_gcc/src/builder.rs | 2126 | // Step 2: We use two comparisons and two selects, with %s1 being the | COMMENT |
| LOW | compiler/rustc_codegen_gcc/src/builder.rs | 2146 | // Step 3: NaN replacement. | COMMENT |
| LOW | compiler/rustc_codegen_gcc/src/back/write.rs | 112 | // We need to check if we're doing LTO since this code is also used for the | COMMENT |
| LOW | compiler/rustc_codegen_gcc/src/intrinsic/simd.rs | 321 | // Step 1: Generate pre-reversed low and high nibbles as a vector. | COMMENT |
| LOW | compiler/rustc_codegen_gcc/src/intrinsic/simd.rs | 349 | // Step 2: Byte-swap the input. | COMMENT |
| LOW⚡ | compiler/rustc_codegen_gcc/src/intrinsic/simd.rs | 370 | // Step 3: Mask off the low and high nibbles of each byte in the byte-swapped input. | COMMENT |
| LOW⚡ | compiler/rustc_codegen_gcc/src/intrinsic/simd.rs | 374 | // Step 4: Shuffle the pre-reversed low and high-nibbles using the masked nibbles as a shuffle mask. | COMMENT |
| LOW⚡ | compiler/rustc_codegen_gcc/src/intrinsic/simd.rs | 378 | // Step 5: Combine the results of the shuffle back together and cast back to the original type. | COMMENT |
| LOW | compiler/rustc_resolve/src/late.rs | 3251 | // we need to check if the span is a raw underscore lifetime, see issue #143152 | COMMENT |
| LOW | compiler/rustc_hir_typeck/src/method/suggest.rs | 3597 | // We need to check if there is already a manual implementation of the trait | COMMENT |
| LOW | compiler/rustc_passes/src/reachable.rs | 164 | // Step 2: Mark all symbols that the symbols on the worklist touch. | COMMENT |
| LOW | compiler/rustc_passes/src/reachable.rs | 478 | // Step 1: Seed the worklist with all nodes which were found to be public as | COMMENT |
| LOW | compiler/rustc_passes/src/reachable.rs | 519 | // Step 2: Mark all symbols that the symbols on the worklist touch. | COMMENT |
| LOW | compiler/rustc_middle/src/ty/print/pretty.rs | 3513 | /// The purpose of this function is to collect public symbols names that are unique across all | COMMENT |
| LOW | compiler/rustc_hir_analysis/src/hir_ty_lowering/mod.rs | 3848 | // Step 1: check that every field is unique, and keep a list of field that we know are | COMMENT |
| LOW | compiler/rustc_hir_analysis/src/hir_ty_lowering/mod.rs | 3868 | // Step 2: check that the viewed type is a struct. | COMMENT |
| LOW | compiler/rustc_hir_analysis/src/hir_ty_lowering/mod.rs | 3891 | // Step 3: check that every viewed field exists. | COMMENT |
| LOW | src/tools/miri/tests/pass/protector-gc.rs | 1 | // When we pop a stack frame with weak protectors, we need to check if the protected pointer's | COMMENT |
| LOW | src/tools/miri/src/helpers.rs | 758 | // Step 1: determine the length. | COMMENT |
| LOW | src/tools/miri/src/helpers.rs | 772 | // Step 2: get the bytes. | COMMENT |
| LOW⚡ | …c/tools/miri/src/borrow_tracker/stacked_borrows/mod.rs | 281 | // Step 1: Find granting item. | COMMENT |
| LOW⚡ | …c/tools/miri/src/borrow_tracker/stacked_borrows/mod.rs | 285 | // Step 2: Remove incompatible items above them. Make sure we do not remove protected | COMMENT |
| LOW⚡ | …c/tools/miri/src/borrow_tracker/stacked_borrows/mod.rs | 366 | // Step 1: Make a write access. | COMMENT |
| LOW⚡ | …c/tools/miri/src/borrow_tracker/stacked_borrows/mod.rs | 370 | // Step 2: Pretend we remove the remaining items, checking if any are strongly protected. | COMMENT |
| LOW | src/tools/clippy/clippy_lints/src/non_copy_const.rs | 455 | // Normalized as we need to check if this is an array later. | COMMENT |
| LOW | src/tools/clippy/clippy_lints/src/non_copy_const.rs | 498 | // Normalized as we need to check if this is an array later. | COMMENT |
| LOW | src/tools/clippy/clippy_lints/src/non_copy_const.rs | 637 | // Normalized as we need to check if this is an array later. | COMMENT |
| LOW | src/librustdoc/passes/collect_trait_impls.rs | 21 | // We need to check if there are errors before running this pass because it would crash when | COMMENT |
| LOW | src/librustdoc/html/static/js/main.js | 2076 | // This section handles the copy button that appears next to the path breadcrumbs | COMMENT |
| LOW | src/librustdoc/html/static/js/search.js | 3576 | // If the query element is a path (it contains `::`), we need to check if this | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | bootstrap.example.toml | 61 | # Set this to `true` to download if CI llvm available otherwise it builds | COMMENT |
| LOW⚡ | bootstrap.example.toml | 67 | # Set this to `"if-unchanged"` to download only if the llvm-project has not | COMMENT |
| LOW | bootstrap.example.toml | 346 | # Set this to "discover" to automatically discover GDB from the environment. | COMMENT |
| LOW | bootstrap.example.toml | 351 | # Set this to "discover" to automatically discover LLDB from the environment. | COMMENT |
| LOW | bootstrap.example.toml | 626 | # Set this to "if-unchanged" if you are working on `src/tools`, `tests` or | COMMENT |
| LOW | bootstrap.example.toml | 631 | # Set this to `true` to always download or `false` to always use the in-tree | COMMENT |
| LOW | library/core/src/async_iter/async_iter.rs | 25 | /// # Return value | COMMENT |
| LOW | library/core/src/num/float_parse.rs | 54 | /// # Return value | COMMENT |
| LOW | library/core/src/ops/coroutine.rs | 100 | /// # Return value | COMMENT |
| LOW | library/core/src/future/future.rs | 46 | /// # Return value | COMMENT |
| LOW | library/stdarch/crates/core_arch/src/wasm32/atomic.rs | 27 | /// # Return value | COMMENT |
| LOW | library/stdarch/crates/core_arch/src/wasm32/atomic.rs | 58 | /// # Return value | COMMENT |
| LOW | library/stdarch/crates/core_arch/src/wasm32/atomic.rs | 84 | /// # Return value | COMMENT |
| LOW | …rary/stdarch/crates/core_arch/src/x86_64/cmpxchg16b.rs | 12 | /// # Return value | COMMENT |
| LOW | library/stdarch/.github/workflows/main.yml | 388 | # Check if all jobs that we depend on (in the needs array) were successful. | COMMENT |
| LOW | .github/workflows/ci.yml | 108 | # Check if cargo is installed | COMMENT |
| LOW | …piler/rustc_codegen_gcc/.github/workflows/failures.yml | 152 | # Check if all jobs that we depend on (in the needs array) were successful. | COMMENT |
| LOW | …mpiler/rustc_codegen_gcc/.github/workflows/release.yml | 130 | # Check if all jobs that we depend on (in the needs array) were successful. | COMMENT |
| LOW | compiler/rustc_codegen_gcc/.github/workflows/m68k.yml | 141 | # Check if all jobs that we depend on (in the needs array) were successful. | COMMENT |
| LOW | …mpiler/rustc_codegen_gcc/.github/workflows/stdarch.yml | 138 | # Check if all jobs that we depend on (in the needs array) were successful. | COMMENT |
| LOW | compiler/rustc_codegen_gcc/.github/workflows/gcc12.yml | 109 | # Check if all jobs that we depend on (in the needs array) were successful. | COMMENT |
| LOW | compiler/rustc_codegen_gcc/.github/workflows/ci.yml | 214 | # Check if all jobs that we depend on (in the needs array) were successful. | COMMENT |
| LOW | src/tools/rust-analyzer/Cargo.toml | 30 | # Set this to 1 or 2 to get more useful backtraces in debugger. | COMMENT |
| LOW | src/tools/rust-analyzer/.github/workflows/ci.yaml | 360 | # Check if all jobs that we depend on (in the needs array) were successful (or have been skipped). | COMMENT |
| LOW | src/tools/miri/.github/workflows/ci.yml | 231 | # Check if all jobs that we depend on (in the needs array) were successful. | COMMENT |
| LOW | src/tools/clippy/.github/workflows/clippy_mq.yml | 265 | # Check if all jobs that we depend on (in the needs array) were successful. | COMMENT |
| LOW | src/tools/clippy/.github/workflows/clippy_dev.yml | 60 | # Check if all jobs that we depend on (in the needs array) were successful. | COMMENT |
| LOW | src/tools/clippy/.github/workflows/clippy_pr.yml | 135 | # Check if all jobs that we depend on (in the needs array) were successful. | COMMENT |
| LOW | src/tools/clippy/.github/workflows/clippy_changelog.yml | 50 | # Check if all jobs that we depend on (in the needs array) were successful. | COMMENT |
| LOW | src/tools/clippy/.github/workflows/remark.yml | 66 | # Check if all jobs that we depend on (in the needs array) were successful. | COMMENT |
| LOW | src/tools/rustfmt/.github/workflows/test.yml | 101 | # Check if all jobs that we depend on (in the needs array) were successful (or have been skipped). | COMMENT |
| LOW | src/bootstrap/bootstrap.py | 176 | # Check if the RuntimeError raised by run(curl) should be silenced | COMMENT |
| LOW | src/ci/scripts/verify-backported-commits.sh | 136 | # Check if a commit is in the default branch. | COMMENT |
| LOW | src/ci/scripts/free-disk-space-linux.sh | 23 | # Check if we're on a GitHub hosted runner. | COMMENT |
| LOW | src/ci/scripts/free-disk-space-linux.sh | 341 | # Check if it's a valid mountpoint and it has enough available space. | COMMENT |
| LOW | src/etc/pre-push.sh | 10 | # Check if the push is doing anything other than deleting remote branches | COMMENT |
| LOW | src/etc/debugger_tester/lldb/batchmode.py | 27 | # Set this to True for additional output | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | compiler/rustc_codegen_gcc/tools/generate_intrinsics.py | 45 | def extract_intrinsics_from_llvm(llvm_path): | CODE |
| LOW | src/tools/rust-analyzer/editors/code/src/commands.ts | 567 | function predicateEvaluationValidationMessage( | CODE |
| LOW | src/tools/rust-analyzer/editors/code/src/commands.ts | 614 | function viewFileUsingTextDocumentContentProvider( | CODE |
| LOW | src/tools/rust-analyzer/editors/code/src/commands.ts | 1197 | export function applySnippetWorkspaceEditCommand(_ctx: CtxInit): Cmd { | CODE |
| LOW | src/tools/rust-analyzer/editors/code/src/main.ts | 229 | function checkConflictingExtensions() { | CODE |
| LOW | src/tools/rust-analyzer/editors/code/src/toolchain.ts | 177 | async function getPathForExecutableWithEnv( | CODE |
| LOW | src/tools/rust-analyzer/editors/code/src/snippets.ts | 7 | export async function applySnippetWorkspaceEdit( | CODE |
| LOW | src/tools/rust-analyzer/editors/code/src/debug.ts | 410 | async function recompileTestFromDebuggingSession(session: vscode.DebugSession, ctx: Ctx) { | CODE |
| LOW | src/tools/rust-analyzer/editors/code/src/debug.ts | 432 | export function initializeDebugSessionTrackingAndRebuild(ctx: Ctx) { | CODE |
| LOW | src/tools/rust-analyzer/editors/code/src/client.ts | 372 | function assertIsCodeActionWithoutEditsAndCommands( | CODE |
| LOW | src/tools/rust-analyzer/editors/code/src/config.ts | 561 | function substituteVSCodeVariableInString(val: string): string { | CODE |
| LOW | src/tools/rust-analyzer/editors/code/src/new_project.ts | 84 | async function promptForNewProjectTemplate(): Promise<NewProjectKind | undefined> { | CODE |
| LOW | src/tools/rust-analyzer/editors/code/src/new_project.ts | 91 | async function promptForNewProjectParentFolder(): Promise<vscode.Uri | undefined> { | CODE |
| LOW | src/tools/rust-analyzer/editors/code/src/new_project.ts | 238 | export function determineNewProjectOpenAction( | CODE |
| LOW | src/tools/rust-analyzer/editors/code/src/new_project.ts | 255 | async function promptForNewProjectOpenAction( | CODE |
| LOW | src/tools/rust-analyzer/editors/code/src/new_project.ts | 284 | async function executeNewProjectOpenAction( | CODE |
| LOW | src/tools/rust-analyzer/editors/code/src/bootstrap.ts | 191 | async function hasToolchainFileWithRaDeclared(uri: vscode.Uri): Promise<boolean> { | CODE |
| LOW | src/tools/miri/test-cargo-miri/run-test.py | 200 | def test_cargo_miri_multi_target(): | CODE |
| LOW | src/bootstrap/bootstrap.py | 746 | def should_fix_bins_and_dylibs(self): | CODE |
| LOW | src/bootstrap/bootstrap_test.py | 90 | def test_stamp_path_does_not_exist(self): | CODE |
| LOW | src/bootstrap/bootstrap_test.py | 180 | def test_set_codegen_backends(self): | CODE |
| LOW⚡ | src/bootstrap/bootstrap_test.py | 205 | def test_dotted_key_matches_section_form(self): | CODE |
| LOW⚡ | src/bootstrap/bootstrap_test.py | 212 | def test_dotted_key_wrong_section(self): | CODE |
| LOW⚡ | src/bootstrap/bootstrap_test.py | 217 | def test_program_config_requires_build_table(self): | CODE |
| LOW | src/bootstrap/bootstrap_test.py | 240 | def test_dotted_key_inside_section(self): | CODE |
| LOW | src/bootstrap/bootstrap_test.py | 253 | def test_dotted_prefix_does_not_alias_other_section(self): | CODE |
| LOW | src/ci/docker/scripts/fuchsia-test-runner.py | 55 | def check_output_with_logging( | CODE |
| LOW | src/etc/gdb_providers.py | 12 | def unwrap_unique_or_non_null(unique_or_nonnull): | CODE |
| LOW | src/etc/gdb_providers.py | 106 | def _enumerate_array_elements(element_ptrs): | CODE |
| LOW | src/etc/lldb_lookup.py | 119 | def register_providers_compatibility(): | CODE |
| LOW | src/etc/lldb_providers.py | 164 | def unwrap_unique_or_non_null(unique_or_nonnull: SBValue) -> SBValue: | CODE |
| LOW | src/etc/lldb_providers.py | 286 | def resolve_msvc_template_arg(arg_name: str, target: SBTarget) -> SBType: | CODE |
| LOW | src/etc/debugger_tester/lldb/batchmode.py | 118 | def start_breakpoint_listener(target): | CODE |
| LOW | src/librustdoc/html/static/js/stringdex.js | 3045 | function makeBranchesFromBinaryData( | CODE |
| LOW | src/librustdoc/html/static/js/main.js | 113 | function getOrCreateSection(id, classes) { | CODE |
| LOW | src/librustdoc/html/static/js/main.js | 132 | function getAlternativeDisplayElem() { | CODE |
| LOW | src/librustdoc/html/static/js/main.js | 180 | function browserSupportsHistoryApi() { | CODE |
| LOW | src/librustdoc/html/static/js/main.js | 1214 | function setImplementorsTogglesOpen(id, open) { | CODE |
| LOW | src/librustdoc/html/static/js/main.js | 2230 | function showHideCodeExampleButtons(event) { | CODE |
| LOW | src/librustdoc/html/static/js/search.js | 782 | function checkExtraTypeFilterCharacters(start, parserState) { | CODE |
| LOW | src/librustdoc/html/static/js/search.js | 3628 | function unifyFunctionTypeCheckBindings( | CODE |
| LOW | src/librustdoc/html/static/js/search.js | 3701 | function unifyFunctionTypeIsUnboxCandidate( | CODE |
| LOW | src/librustdoc/html/static/js/settings.js | 126 | function buildSettingsPageSections(settings) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/rust-analyzer/lib/smol_str/src/gdb_smolstr_printer.py | 32 | except Exception: | CODE |
| LOW | …/rust-analyzer/lib/smol_str/src/gdb_smolstr_printer.py | 54 | except Exception: | CODE |
| LOW | …/rust-analyzer/lib/smol_str/src/gdb_smolstr_printer.py | 71 | except Exception as e: | CODE |
| LOW | …/rust-analyzer/lib/smol_str/src/gdb_smolstr_printer.py | 78 | except Exception as e: | CODE |
| LOW | …/rust-analyzer/lib/smol_str/src/gdb_smolstr_printer.py | 97 | except Exception as e: | CODE |
| LOW | …/rust-analyzer/lib/smol_str/src/gdb_smolstr_printer.py | 117 | except Exception: | CODE |
| MEDIUM | …/rust-analyzer/lib/smol_str/src/gdb_smolstr_printer.py | 29 | def _read_utf8(mem): | CODE |
| MEDIUM | …/rust-analyzer/lib/smol_str/src/gdb_smolstr_printer.py | 51 | def to_string(self): | CODE |
| LOW | src/bootstrap/bootstrap.py | 301 | except Exception as e: | CODE |
| LOW | src/bootstrap/bootstrap.py | 1438 | except Exception as error: | CODE |
| LOW | src/ci/docker/scripts/fuchsia-test-runner.py | 104 | except Exception as e: | CODE |
| LOW | src/ci/docker/scripts/fuchsia-test-runner.py | 202 | except Exception as e: | CODE |
| LOW | src/ci/docker/scripts/fuchsia-test-runner.py | 209 | except Exception as e: | CODE |
| LOW | src/ci/docker/scripts/fuchsia-test-runner.py | 221 | except Exception as e: | CODE |
| LOW | src/ci/docker/scripts/fuchsia-test-runner.py | 523 | except Exception as e: | CODE |
| LOW | src/etc/lldb_trim_paths.py | 40 | except Exception as e: | CODE |
| LOW | src/etc/htmldocck.py | 189 | except Exception as exc: | STRING |
| LOW | src/etc/htmldocck.py | 279 | except Exception as e: | STRING |
| LOW | src/etc/htmldocck.py | 335 | except Exception: | STRING |
| LOW | src/etc/gdb_load_rust_pretty_printers.py | 15 | except Exception: | CODE |
| LOW | src/etc/gdb_trim_paths.py | 41 | except Exception as e: | CODE |
| LOW | src/etc/lldb_providers.py | 408 | except Exception as e: | CODE |
| LOW | src/etc/debugger_tester/gdb/gdb_commands.py | 26 | except Exception as e: | CODE |
| LOW | src/etc/debugger_tester/gdb/check_gdb.py | 228 | except Exception as e: | CODE |
| LOW | src/etc/debugger_tester/gdb/check_gdb.py | 267 | except Exception as e: | CODE |
| LOW | src/etc/debugger_tester/gdb/from_gdb.py | 66 | except Exception: | CODE |
| LOW | src/etc/debugger_tester/gdb/from_gdb.py | 277 | except Exception: | CODE |
| LOW | src/etc/debugger_tester/lldb/check_lldb.py | 310 | except Exception as e: | CODE |
| LOW | src/etc/debugger_tester/lldb/check_lldb.py | 367 | except Exception as e: | CODE |
| LOW | src/etc/debugger_tester/lldb/batchmode.py | 309 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | library/compiler-builtins/ci/ci-util.py | 352 | CODE | |
| LOW | library/compiler-builtins/ci/ci-util.py | 108 | CODE | |
| LOW | library/compiler-builtins/etc/update-api-list.py | 242 | CODE | |
| LOW | compiler/rustc_codegen_gcc/tools/generate_intrinsics.py | 15 | CODE | |
| LOW | compiler/rustc_codegen_gcc/tools/generate_intrinsics.py | 73 | CODE | |
| LOW | …rustc_codegen_gcc/tools/check_intrinsics_duplicates.py | 4 | CODE | |
| LOW | src/tools/publish_toolstate.py | 151 | CODE | |
| LOW | src/bootstrap/bootstrap.py | 52 | CODE | |
| LOW | src/bootstrap/bootstrap.py | 280 | CODE | |
| LOW | src/bootstrap/bootstrap.py | 1332 | CODE | |
| LOW | src/bootstrap/bootstrap.py | 603 | CODE | |
| LOW | src/bootstrap/bootstrap.py | 951 | CODE | |
| LOW | src/bootstrap/configure.py | 401 | CODE | |
| LOW | src/bootstrap/configure.py | 507 | CODE | |
| LOW | src/bootstrap/configure.py | 592 | CODE | |
| LOW | src/bootstrap/configure.py | 675 | CODE | |
| LOW | src/bootstrap/configure.py | 735 | CODE | |
| LOW | src/ci/docker/scripts/android-sdk-manager.py | 76 | CODE | |
| LOW | src/etc/htmldocck.py | 321 | CODE | |
| LOW | src/etc/htmldocck.py | 520 | CODE | |
| LOW | src/etc/lldb_providers.py | 229 | CODE | |
| LOW | src/etc/lldb_providers.py | 363 | CODE | |
| LOW | src/etc/lldb_providers.py | 831 | CODE | |
| LOW | src/etc/lldb_providers.py | 1246 | CODE | |
| LOW | src/etc/debugger_tester/common.py | 240 | CODE | |
| LOW | src/etc/debugger_tester/gdb/check_gdb.py | 125 | CODE | |
| LOW | src/etc/debugger_tester/lldb/check_lldb.py | 199 | CODE | |
| LOW | src/etc/debugger_tester/lldb/check_lldb.py | 393 | CODE | |
| LOW | src/etc/debugger_tester/lldb/batchmode.py | 68 | CODE | |
| LOW | src/etc/debugger_tester/lldb/batchmode.py | 214 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/ui/drop/super-let-tail-expr-drop-order.rs | 165 | // # Test scaffolding... | COMMENT |
| MEDIUM | tests/ui/drop/if-let-guards-2.rs | 196 | // # Test scaffolding... | COMMENT |
| MEDIUM | tests/ui/drop/if-let-guards.rs | 57 | // # Test scaffolding... | COMMENT |
| MEDIUM | tests/ui/drop/if-let-super-let.rs | 81 | // # Test scaffolding... | COMMENT |
| MEDIUM | tests/ui/drop/drop-order-comparisons.rs | 443 | // # Test scaffolding | COMMENT |
| MEDIUM | tests/ui/drop/drop-order-comparisons-let-chains.rs | 79 | // # Test scaffolding | COMMENT |
| MEDIUM | …s/ide-assists/src/handlers/add_missing_impl_members.rs | 19 | // Adds scaffold for required impl members. | COMMENT |
| MEDIUM | …s/ide-assists/src/handlers/add_missing_impl_members.rs | 64 | // Adds scaffold for overriding default impl members. | COMMENT |
| MEDIUM | src/tools/rust-analyzer/lib/lsp-server/src/lib.rs | 1 | //! A language server scaffold, exposing a synchronous crossbeam-channel based API. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | x.py | 28 | except OSError: | CODE |
| HIGH | src/tools/publish_toolstate.py | 26 | except ImportError: | CODE |
| HIGH | …/rust-analyzer/lib/smol_str/src/gdb_smolstr_printer.py | 117 | except Exception: | CODE |
| HIGH | src/bootstrap/bootstrap.py | 1208 | except KeyError: | CODE |
| HIGH | src/etc/debugger_tester/gdb/from_gdb.py | 265 | except TypeError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | compiler/rustc_codegen_gcc/tools/generate_intrinsics.py | 3 | CODE | |
| LOW | src/tools/publish_toolstate.py | 8 | CODE | |
| LOW | src/tools/publish_toolstate.py | 25 | CODE | |
| LOW | src/bootstrap/bootstrap.py | 1 | CODE | |
| LOW | src/bootstrap/bootstrap.py | 1 | CODE | |
| LOW | src/bootstrap/bootstrap.py | 1 | CODE | |
| LOW | src/bootstrap/configure.py | 5 | CODE | |
| LOW | src/bootstrap/configure.py | 5 | CODE | |
| LOW | src/bootstrap/configure.py | 5 | CODE | |
| LOW | src/bootstrap/bootstrap_test.py | 5 | CODE | |
| LOW | src/bootstrap/bootstrap_test.py | 5 | CODE | |
| LOW | src/bootstrap/bootstrap_test.py | 5 | CODE | |
| LOW | src/ci/cpu-usage-over-time.py | 120 | CODE | |
| LOW | src/etc/htmldocck.py | 9 | CODE | |
| LOW | src/etc/htmldocck.py | 9 | CODE | |
| LOW | src/etc/htmldocck.py | 9 | CODE | |
| LOW | src/etc/dec2flt_table.py | 17 | CODE | |
| LOW | src/etc/lldb_lookup.py | 1 | CODE | |
| LOW | src/etc/lldb_lookup.py | 6 | CODE | |
| LOW | src/etc/lldb_lookup.py | 6 | CODE | |
| LOW | src/etc/lldb_providers.py | 1 | CODE | |
| LOW | src/etc/gdb_lookup.py | 5 | CODE | |
| LOW | src/etc/debugger_tester/__init__.py | 6 | CODE | |
| LOW | src/etc/debugger_tester/__init__.py | 8 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | library/alloc/src/string.rs | 2962 | /// In this implementation, the `to_string` method panics | COMMENT |
| HIGH | library/core/src/ffi/va_list.rs | 168 | // In this implementation the `va_list` type is just an alias for an opaque pointer. | COMMENT |
| HIGH | compiler/rustc_ast_pretty/src/pp.rs | 131 | //! In this implementation (following the paper, again) the SCAN process is the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ustc-std-workspace/rustc-std-workspace-core/Cargo.toml | 0 | crate for integration of crates.io crates into rust-lang/rust standard library workspace | STRING |
| HIGH | …stc-std-workspace/rustc-std-workspace-alloc/Cargo.toml | 0 | crate for integration of crates.io crates into rust-lang/rust standard library workspace | STRING |
| HIGH | …rustc-std-workspace/rustc-std-workspace-std/Cargo.toml | 0 | crate for integration of crates.io crates into rust-lang/rust standard library workspace | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | library/core/src/macros/mod.rs | 1645 | /// ### Usage example: | COMMENT |
| LOW | src/tools/linkchecker/linkcheck.sh | 9 | # Usage: | COMMENT |
| LOW | src/tools/run-make-support/src/macros.rs | 14 | /// Example usage: | COMMENT |