about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-06-05 23:48:00 +0200
committerGitHub <noreply@github.com>2023-06-05 23:48:00 +0200
commit44acf796c7e7ce441c8d7d7a34877554aeecdf27 (patch)
tree2847a37c3c19cd80ff49d260fdf2cf0e958e9b04 /compiler/rustc_codegen_gcc
parent0ff5a6ee57d866c005b4ab8ba13c904e4211c5be (diff)
parent58972d19e7ba591321d6e67d32080a5e5a78e19a (diff)
downloadrust-44acf796c7e7ce441c8d7d7a34877554aeecdf27.tar.gz
rust-44acf796c7e7ce441c8d7d7a34877554aeecdf27.zip
Rollup merge of #112318 - oli-obk:assoc_ty_sized_bound_for_object_safety, r=compiler-errors
Merge method, type and const object safety checks

cc `@spastorino` and `@compiler-errors` on the first commit. I believe it to be correct, as the field is only `Some` for assoc types, so just checking the field without checking the assoc kind to be `Type` is fine.

The second commit avoids going through all associated items thrice and just goes over all of them once, running the object safety checks per assoc item kind.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions