Commit dec2c4f
committed
ImproperCTypes: redo state tracking
No changes should be visible by rustc users
This is just some architecture changes to the type checking to
facilitate FFI-safety decisions that depend on how the type is used
(the change here is not complete, there are still bits of "legacy" state
passing for this, but since this is a retconned commit, I can tell you
those bits will disappear before the end of the commit chain)
(there is at least one bit where the decision making code is weird, but
that this is because we do not want to change the lint's behaviour this
early in the chain)1 parent a6af762 commit dec2c4f
File tree
3 files changed
+181
-70
lines changed- compiler/rustc_lint
- src/types
3 files changed
+181
-70
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4022 | 4022 | | |
4023 | 4023 | | |
4024 | 4024 | | |
| 4025 | + | |
4025 | 4026 | | |
4026 | 4027 | | |
4027 | 4028 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
0 commit comments