Function stable_mir::mir::visit::visit_opaque

source ·
fn visit_opaque(_: &Opaque)
Expand description

This function is a no-op that gets used to ensure this visitor is kept up-to-date.

The idea is that whenever we replace an Opaque type by a real type, the compiler will fail when trying to invoke visit_opaque.

If you are here because your compilation is broken, replace the failing call to visit_opaque() by a visit_<CONSTRUCT> for your construct.