about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/subslice-patterns-const-eval.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-09-16 17:24:39 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-09-17 10:24:43 +1000
commit928d8e69510cd8dc191089ee9a24cc55456da184 (patch)
tree93f57ac873d25b19e8c6aa76596b7eeb9281fedd /compiler/rustc_codegen_gcc/example/subslice-patterns-const-eval.rs
parent5f98943b5a6e1b5dcc1e815a823ef2e5d8c5deae (diff)
downloadrust-928d8e69510cd8dc191089ee9a24cc55456da184.tar.gz
rust-928d8e69510cd8dc191089ee9a24cc55456da184.zip
Remove `Backend`.
It's a trait that aggregates five other traits. But consider the places
that use it.
- `BuilderMethods`: requires three of the five traits.
- `CodegenMethods`: requires zero(!) of the five traits.
- `BaseTypeMethods`: requires two of the five traits.
- `LayoutTypeMethods`: requires three of the five traits.
- `TypeMembershipMethods`: requires one of the five traits.

This commit just removes it, which makes everything simpler.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/subslice-patterns-const-eval.rs')
0 files changed, 0 insertions, 0 deletions