We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e2cd044 + 716fc5d commit e5364beCopy full SHA for e5364be
src/expand.rs
@@ -398,7 +398,8 @@ fn has_bound(supertraits: &Supertraits, marker: &Ident) -> bool {
398
if let TypeParamBound::Trait(bound) = bound {
399
if bound.path.is_ident(marker)
400
|| bound.path.segments.len() == 3
401
- && bound.path.segments[0].ident == "core"
+ && (bound.path.segments[0].ident == "std"
402
+ || bound.path.segments[0].ident == "core")
403
&& bound.path.segments[1].ident == "marker"
404
&& bound.path.segments[2].ident == *marker
405
{
0 commit comments