]> git.lizzy.rs Git - rust.git/blobdiff - test-cargo-miri/exported-symbol-dep/src/lib.rs
Update tests for `#[no_mangle]` associated functions
[rust.git] / test-cargo-miri / exported-symbol-dep / src / lib.rs
index db257dcb22c477e5e8d9092d1cfa0ecc2a9b9af6..5b8a314ae73245051cc58018ba9988075382ff18 100644 (file)
@@ -3,11 +3,11 @@ fn exported_symbol() -> i32 {
     123456
 }
 
-pub struct AssocFn;
+struct AssocFn;
 
 impl AssocFn {
     #[no_mangle]
-    pub fn assoc_fn_as_exported_symbol() -> i32 {
+    fn assoc_fn_as_exported_symbol() -> i32 {
         -123456
     }
 }