emilk / emilk/userp

Merging module::name as module::name::{self, ...} is not always valid

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
9
Forks
3
PR merge metrics
No merged PRs in 30d

Description

`module::name` could be both a macro and a module, in which case the macro will not be brought into scope if it is rewritten as `module::name::{self, ...}`.

Avoiding doing the rewrite to use`self` would fix, but it might be worse in most cases.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.