#Trait is in scope but is reported missing by cargo check

7 messages · Page 1 of 1 (latest)

copper hazel
#

I'm getting a cargo check error for a trait which is supposedly missing, and needs to be imported, but this trait is in scope... What could lead to this type of compiler error?

burnt willow
#

Can you show the code?

copper hazel
#

@burnt willow mind if I pm you the code?

burnt willow
#

Go ahead, but I don't promise I'll be able to take a look at it anytime soon

copper hazel
#

nevermind, I've solved the underlying issue, albeit rustc could have better error messages

#

the error messages I encountered made no sense

burnt willow
#

Bad error messages are considered bugs.