rust/src
A4-Tacks 3e33ed8fbb
Fix pub in enum variant field for no_such_field
Example
---
```rust
//- /main.rs
mod foo;

fn main() {
    foo::Foo::Variant { bar: 3, $0baz: false};
}
//- /foo.rs
pub enum Foo {
    Variant {
        bar: i32
    }
}
```

**Before this PR**

```rust
pub enum Foo {
    Variant {
        bar: i32,
        pub(crate) baz: bool
    }
}
```

**After this PR**

```rust
pub enum Foo {
    Variant {
        bar: i32,
        baz: bool
    }
}
```
2025-12-07 20:49:22 +08:00
..
bootstrap add a missing comma to default r-a settings file 2025-11-29 21:31:43 +00:00
build_helper Use yarn instead of npm in tidy 2025-11-17 10:58:13 +02:00
ci Build gnullvm toolchains on Windows natively 2025-11-23 21:23:52 +01:00
doc Rollup merge of #149424 - rustbot:docs-update, r=ehuss 2025-11-28 21:22:26 -05:00
etc add a missing comma to default r-a settings file 2025-11-29 21:31:43 +00:00
gcc@0081ca6631 Update GCC submodule 2025-11-26 20:11:43 +01:00
librustdoc Rollup merge of #148169 - fmease:rustdoc-bad-intra-bad-preprocess, r=lolbinarycat 2025-11-30 18:44:22 +01:00
llvm-project@16b5ac8b0a Update LLVM to 21.1.5 2025-11-08 10:21:22 +08:00
rustc-std-workspace Generalize branch references to HEAD 2025-11-02 11:15:55 +01:00
rustdoc-json-types rustdoc-json: add rlib path to ExternalCrate to enable robust crate resolution 2025-11-21 09:22:59 +00:00
tools Fix pub in enum variant field for no_such_field 2025-12-07 20:49:22 +08:00
README.md
stage0 Change default branch to main 2025-11-10 10:21:34 +01:00
version Bump the version number to 1.93.0 2025-10-24 11:12:06 -07:00

This directory contains some source code for the Rust project, including:

  • The bootstrapping build system
  • Various submodules for tools, like cargo, tidy, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.