mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
44acf796c7
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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |