Enum rustc_passes::stability::InheritConstStability [−][src]
enum InheritConstStability {
Yes,
No,
}Expand description
Whether to inherit const stability flags for nested items. In most cases, we do not want to
inherit const stability: just because an enclosing fn is const-stable does not mean
all extern imports declared in it should be const-stable! However, trait methods
inherit const stability attributes from their parent and do not have their own.