Skip to content

Commit

Permalink
Update location of Pat variant aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Feb 19, 2024
1 parent 07a435d commit 2b493c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codegen/src/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ fn do_load_file(
}
}
Item::Use(item)
if relative_to_workspace_root == Path::new(SYN_CRATE_ROOT)
if relative_to_workspace_root == Path::new("src/pat.rs")
&& matches!(item.vis, Visibility::Public(_)) =>
{
load_aliases(item.tree, lookup);
Expand Down

0 comments on commit 2b493c3

Please sign in to comment.