static NO_MANGLE_GENERIC_ITEMS: &LintExpand description
The no_mangle_generic_items lint detects generic items that must be
mangled.
§Example
#[unsafe(no_mangle)]
fn foo<T>(t: T) {}
#[unsafe(export_name = "bar")]
fn bar<T>(t: T) {}{{produces}}
§Explanation
A function with generics must have its symbol mangled to accommodate
the generic parameter. The no_mangle and export_name attributes
have no effect in this situation, and should be removed.