This commit is contained in:
uHOOCCOOHu 2019-09-11 22:39:02 +08:00
parent c66a789a04
commit c033d18700
No known key found for this signature in database
GPG Key ID: CED392DE0C483D00
4 changed files with 4 additions and 4 deletions

View File

@ -416,7 +416,7 @@ impl CrateDefMap {
);
}
// Since it is a quantified path here, it should not contains legacy macros
// Since it is a qualified path here, it should not contains legacy macros
match self[module.module_id].scope.get(&segment.name) {
Some(res) => res.def,
_ => {

View File

@ -430,7 +430,7 @@ fn macro_use_can_be_aliased() {
}
#[test]
fn path_quantified_macros() {
fn path_qualified_macros() {
let map = def_map(
"
//- /main.rs

View File

@ -2839,7 +2839,7 @@ fn main() {
}
#[test]
fn infer_path_quantified_macros_expanded() {
fn infer_path_qualified_macros_expanded() {
assert_snapshot!(
infer(r#"
#[macro_export]

View File

@ -589,7 +589,7 @@ mod tests {
}
#[test]
fn completes_quantified_macros() {
fn completes_qualified_macros() {
assert_debug_snapshot!(
do_reference_completion(
"