mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
rustc_expand: remove pub visibility for rustfmt
This commit is contained in:
parent
c59199efca
commit
08e35155b4
@ -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…
Reference in New Issue
Block a user