Skip to content

Compiler bug trigged on OSX #359

@bvssvni

Description

@bvssvni

rustc 1.0.0-nightly (f207ecbe0 2015-04-03) (built 2015-04-03)

/Users/sven/.cargo/registry/src/github.com-1ecc6299db9ec823/objc-0.1.1/src/declare.rs:138:21: 138:35 error: internal compiler error: coherence failed to report ambiguity: cannot locate the impl of the trait `core::marker::PhantomFn<<F as declare::IntoMethodImp>::Ret>` for the type `<F as declare::IntoMethodImp>::Ret`
/Users/sven/.cargo/registry/src/github.com-1ecc6299db9ec823/objc-0.1.1/src/declare.rs:138     let mut types = F::Ret::encode().as_str().to_string();
                                                                                                              ^~~~~~~~~~~~~~
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'Box<Any>', /Users/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-mac/build/src/libsyntax/diagnostic.rs:130


Build failed, waiting for other jobs to finish...
Could not compile `objc`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions