mirror of
https://github.com/safishamsi/graphify.git
synced 2026-10-17 09:29:27 +00:00
19 lines
534 B
Rust
19 lines
534 B
Rust
// crate_b has no dependency on crate_a.
|
|
// These calls use Type::method() (scoped_identifier) and common names that
|
|
// previously produced spurious INFERRED edges into crate_a (#908).
|
|
|
|
pub struct Server;
|
|
|
|
impl Server {
|
|
pub fn run(&self) {
|
|
// Server::start() — scoped call, should not wire to crate_a::start
|
|
let _ = Server::start();
|
|
// Url::parse() — scoped call, should not wire to crate_a::parse
|
|
let _ = Url::parse("http://example.com");
|
|
}
|
|
|
|
fn start() -> bool {
|
|
false
|
|
}
|
|
}
|