diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-06-05 23:48:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-05 23:48:00 +0200 |
| commit | 44acf796c7e7ce441c8d7d7a34877554aeecdf27 (patch) | |
| tree | 2847a37c3c19cd80ff49d260fdf2cf0e958e9b04 /compiler/rustc_codegen_gcc | |
| parent | 0ff5a6ee57d866c005b4ab8ba13c904e4211c5be (diff) | |
| parent | 58972d19e7ba591321d6e67d32080a5e5a78e19a (diff) | |
| download | rust-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
