You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are multiple traits called ConnectionExt, multiple of which often must be used within the same module. IDEs are unable to import these traits automatically due to the name conflicts or will import them but cause errors at compile time. This would not be a problem if these traits were prefixed with their protocol.
The text was updated successfully, but these errors were encountered:
IDEs are unable to import these traits automatically due to the name conflicts or will import them but cause errors at compile time.
Just so that I understand this correctly: The problem is not that the IDE does not find the right trait, the problem is that it could end up with something like the following (which fails to compile because there are two ConnectionExts in scope), right?
use x11rb::protocol::{shm::ConnectionExt, sync::ConnectionExt};
There are multiple traits called ConnectionExt, multiple of which often must be used within the same module. IDEs are unable to import these traits automatically due to the name conflicts or will import them but cause errors at compile time. This would not be a problem if these traits were prefixed with their protocol.
The text was updated successfully, but these errors were encountered: