about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/structured_errors.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-11-24 07:29:12 -0800
committerGitHub <noreply@github.com>2023-11-24 07:29:12 -0800
commit8294352b2d800faa97d73fb4d12a7fc48dd4cdfc (patch)
treed8dc0b1148d323063bb9aadce75ea4ef832d4c78 /compiler/rustc_hir_analysis/src/structured_errors.rs
parentffacd5463a3cac1d8e9860f5f5d09af35ae76515 (diff)
parentb6e977243fa574963485219ad8047994ef2d791b (diff)
downloadrust-8294352b2d800faa97d73fb4d12a7fc48dd4cdfc.tar.gz
rust-8294352b2d800faa97d73fb4d12a7fc48dd4cdfc.zip
Rollup merge of #118215 - celinval:smir-def-paths, r=ouz-a
Add common trait for crate definitions

In stable mir, we specialize DefId, however some functionality is the same for every definition, such as def paths, and getting their crate. Use a trait to implement those.
Diffstat (limited to 'compiler/rustc_hir_analysis/src/structured_errors.rs')
0 files changed, 0 insertions, 0 deletions