about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-03-25 09:09:01 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2025-03-25 16:14:27 +1100
commit3f32a321bc0962cd3c700a5625dca4e4967918e4 (patch)
tree42e5a9a0fdcdd6b41ab33651004e033b043571ed /compiler/rustc_mir_transform/src
parent2469ab195a558b3a09b5ef4319ea8a3f989b621f (diff)
downloadrust-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