]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #1871 - hyd-dev:no-mangle-method, r=RalfJung
authorbors <bors@rust-lang.org>
Sun, 15 Aug 2021 11:41:00 +0000 (11:41 +0000)
committerbors <bors@rust-lang.org>
Sun, 15 Aug 2021 11:41:00 +0000 (11:41 +0000)
Update tests for `#[no_mangle]` on associated functions

https://github.com/rust-lang/rust/pull/86492 has landed:
- The code in https://github.com/rust-lang/miri/issues/1837 starts to work (even without `AssocFn::foo();` at line 12) in Miri.
- `pub` is not necessary for `#[no_mangle]` associated functions in `test-cargo-miri/exported-symbol-dep/src/lib.rs` anymore.

Closes https://github.com/rust-lang/miri/issues/1837.


Trivial merge