]> git.proxmox.com Git - rustc.git/blobdiff - src/tools/rustfmt/tests/source/fn-simple.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / src / tools / rustfmt / tests / source / fn-simple.rs
index 528b9a0292a9e8eb673a016db93869ea6ba79294..12a50c013a91f3ccca9dc88084191525b6a6dac8 100644 (file)
@@ -63,7 +63,7 @@ mod foo {
 // #2082
 pub(crate) fn init() {}
 
-crate fn init() {}
+pub(crate) fn init() {}
 
 // #2630
 fn make_map<T, F: (Fn(&T) -> String)>(records: &Vec<T>, key_fn: F) -> HashMap<String, usize> {}