These changes to resolve look like they'll start resolving static functions as candidates for methods (possibly). Can you make sure that code like this still compiles?

```rust
trait Foo {
    fn new() {}
}

trait Bar {
    fn new(&self) {}
}

impl Bar for int {}
impl Foo for int {}

fn main() {
    1i.new();
}
```