We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bfe82b commit f2e7fafCopy full SHA for f2e7faf
src/librustc_mir/transform/check_consts/qualifs.rs
@@ -34,8 +34,9 @@ pub trait Qualif {
34
/// of the type.
35
fn in_any_value_of_ty(_cx: &ConstCx<'_, 'tcx>, _ty: Ty<'tcx>) -> bool;
36
37
- fn in_static(cx: &ConstCx<'_, 'tcx>, statik: &Static<'tcx>) -> bool {
38
- Self::in_any_value_of_ty(cx, statik.ty)
+ fn in_static(_cx: &ConstCx<'_, 'tcx>, _static: &Static<'tcx>) -> bool {
+ // FIXME(eddyb) should we do anything here for value properties?
39
+ false
40
}
41
42
fn in_projection_structurally(
0 commit comments