We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c59199e commit 08e3515Copy full SHA for 08e3515
compiler/rustc_expand/src/module.rs
@@ -219,8 +219,7 @@ fn error_cannot_declare_mod_here<'a, T>(
219
220
/// Derive a submodule path from the first found `#[path = "path_string"]`.
221
/// The provided `dir_path` is joined with the `path_string`.
222
-// Public for rustfmt usage.
223
-pub fn submod_path_from_attr(
+pub(super) fn submod_path_from_attr(
224
sess: &Session,
225
attrs: &[Attribute],
226
dir_path: &Path,
0 commit comments