You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iface clam<A> { }
impl foo<A> for [A] {
fn bar<B,C:clam<B>>(c: C) -> B { fail; }
}
fn main() { }
It yields:
/Users/nmatsakis/tmp/iface-res-bug.rs:5:19: 5:20 �error: unresolved typename: B
/Users/nmatsakis/tmp/iface-res-bug.rs:5 fn bar<B,C:clam<B>>(c: C) -> B { fail; }
The text was updated successfully, but these errors were encountered:
Use FnAbi instead of function signature when generating code for
function types. Properly check the `PassMode::Ignore`. For foreign
functions, instead of ignoring the declaration type, cast the arguments
and return value.
For now, we also ignore the caller location, since we don't currently
support tracking caller location. This change makes it easier for us to
do so. We might want to wait for this issue to get fixed so we can
easily add support using stable APIs:
rust-lang/project-stable-mir#62Resolvesrust-lang#2260Resolvesrust-lang#2312Resolvesrust-lang#1365Resolvesrust-lang#1350
This does not work:
It yields:
The text was updated successfully, but these errors were encountered: