-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linker error with private default methods used in a reachable method #11225
Comments
Another possibly related case which needs fixing: // foo.rs
use inner::Trait;
mod inner {
pub struct Foo;
pub trait Trait {
fn f(&self);
}
impl Trait for Foo {
fn f(&self) { }
}
}
pub trait Outer {
fn foo<T: Trait>(&self, t: T) { t.f(); }
}
impl Outer for int {}
pub fn foo<T: Outer>(t: T) {
t.foo(inner::Foo);
} // bar.rs
extern mod foo;
fn main() {
foo::foo(1);
} |
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Jul 31, 2023
…r=flip1995 Fix integration tests rust-lang#2 fix integration tests. It turned out that the following tests fail to build at all: chalk, combine, stdarch and hyper. This is often a problem of passing `--all-targets --all-features`, in case of combine though, outdated deps were to blame. I have opened tickets against combine and rustfmt rust-lang/rustfmt#5859 Marwes/combine#357 should we just remove the other failing repos? :/ changelog: fix integration tests on ci
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: