diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-03-25 09:09:01 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-03-25 16:14:27 +1100 |
| commit | 3f32a321bc0962cd3c700a5625dca4e4967918e4 (patch) | |
| tree | 42e5a9a0fdcdd6b41ab33651004e033b043571ed /compiler/rustc_mir_transform/src | |
| parent | 2469ab195a558b3a09b5ef4319ea8a3f989b621f (diff) | |
| download | rust-3f32a321bc0962cd3c700a5625dca4e4967918e4.tar.gz rust-3f32a321bc0962cd3c700a5625dca4e4967918e4.zip | |
Use `Option<Symbol>` in `ModuleKind::Def`.
This way, `None` represents "crate root without a name" instead of `kw::Empty`. This changes makes it impossible to forget to handle the exceptional case.
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions
