Enum rustc_lint::middle::traits::MethodViolationCode
[−]
[src]
pub enum MethodViolationCode {
StaticMethod,
ReferencesSelf,
Generic,
}Unstable
Reasons a method might not be object-safe.
Variants
StaticMethod | Unstable e.g., |
ReferencesSelf | Unstable e.g., |
Generic | Unstable e.g., |