rustc_expand: remove pub visibility for rustfmt
This commit is contained in:
parent
c59199efca
commit
08e35155b4
1 changed files with 1 additions and 2 deletions
|
@ -219,8 +219,7 @@ fn error_cannot_declare_mod_here<'a, T>(
|
|||
|
||||
/// Derive a submodule path from the first found `#[path = "path_string"]`.
|
||||
/// The provided `dir_path` is joined with the `path_string`.
|
||||
// Public for rustfmt usage.
|
||||
pub fn submod_path_from_attr(
|
||||
pub(super) fn submod_path_from_attr(
|
||||
sess: &Session,
|
||||
attrs: &[Attribute],
|
||||
dir_path: &Path,
|
||||
|
|
Loading…
Add table
Reference in a new issue