rust/compiler/rustc_typeck
Matthias Krüger 233c50e79e
Rollup merge of #91251 - oli-obk:wf_sync_statics, r=matthewjasper
Perform Sync check on static items in wf-check instead of during const checks

r? `@RalfJung`

This check is solely happening on the signature of the static item and not on its body, therefor it belongs into wf-checking instead of const checking.
2021-11-28 17:11:10 +01:00
..
2021-09-20 22:21:42 -04:00

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.