mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 11:44:28 +00:00
16 lines
315 B
Rust
16 lines
315 B
Rust
// edition:2018
|
|
// aux-crate:issue_87932_a=issue-87932-a.rs
|
|
|
|
pub struct A {}
|
|
|
|
impl issue_87932_a::Deserialize for A {
|
|
fn deserialize() {
|
|
extern crate issue_87932_a as _a;
|
|
}
|
|
}
|
|
|
|
fn main() {
|
|
A::deserialize();
|
|
//~^ ERROR no function or associated item named `deserialize` found for struct `A`
|
|
}
|