diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2021-08-06 11:21:35 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-06 11:21:35 +0900 |
| commit | 8bad35095b3dcd424fd2d1802f77f3923c8a5487 (patch) | |
| tree | fc4484d33c1bfd4b3ceee4fab22a58547c18d2cc /compiler/rustc_codegen_gcc/example/example.rs | |
| parent | 41076a8ac94659e2f062f211f0e1b334155b72ab (diff) | |
| parent | fa4671500273991967b293dd611e645512608d98 (diff) | |
| download | rust-8bad35095b3dcd424fd2d1802f77f3923c8a5487.tar.gz rust-8bad35095b3dcd424fd2d1802f77f3923c8a5487.zip | |
Rollup merge of #87770 - BoxyUwU:cec-drop-impl, r=lcnr
permit drop impls with generic constants in where clauses Fixes #79248 `==` is not sufficient to check for equality between unevaluated consts which causes the above issue because the const in `[(); N - 1]:` on the impl and the const in `[(); N - 1]:` on the struct def are not seen as equal. Any predicate that can contain an unevaluated const cant use `==` here as it will cause us to incorrectly emit an error. I dont know much about chalk but it seems like we ought to be relating the `TypeWellFormedFromEnv` instead of `==` as it contains a `Ty` so I added that too... r? ``````@lcnr``````
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/example.rs')
0 files changed, 0 insertions, 0 deletions
