Fix typo
This commit is contained in:
parent
c66a789a04
commit
c033d18700
@ -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,
|
||||
_ => {
|
||||
|
@ -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
|
||||
|
@ -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]
|
||||
|
@ -589,7 +589,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn completes_quantified_macros() {
|
||||
fn completes_qualified_macros() {
|
||||
assert_debug_snapshot!(
|
||||
do_reference_completion(
|
||||
"
|
||||
|
Loading…
x
Reference in New Issue
Block a user