diff options
| author | Caleb Cartwright <caleb.cartwright@outlook.com> | 2020-09-04 19:44:11 -0500 |
|---|---|---|
| committer | Caleb Cartwright <caleb.cartwright@outlook.com> | 2020-09-04 19:44:11 -0500 |
| commit | 08e35155b42279c33b26512f5ce59734147de8b6 (patch) | |
| tree | 1b6cf0e31ffb5c92f30dd44eabd8860cef433bea /compiler/rustc_expand/src/module.rs | |
| parent | c59199efca5856cdf810919fbf9b5bce32dc4523 (diff) | |
| download | rust-08e35155b42279c33b26512f5ce59734147de8b6.tar.gz rust-08e35155b42279c33b26512f5ce59734147de8b6.zip | |
rustc_expand: remove pub visibility for rustfmt
Diffstat (limited to 'compiler/rustc_expand/src/module.rs')
| -rw-r--r-- | compiler/rustc_expand/src/module.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_expand/src/module.rs b/compiler/rustc_expand/src/module.rs index 1e123a2e145..fefc0bdeb7c 100644 --- a/compiler/rustc_expand/src/module.rs +++ b/compiler/rustc_expand/src/module.rs @@ -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, |
