Skip to content

link error: undefined reference to `<T as core::convert::From<T>>::from' #87992

Closed
@tmandry

Description

@tmandry

From the 1.55 crater run #87749, while building the crate issue-macros-0.1.4:

[INFO] [stdout]   = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/issue_macros-597542d719c97701.issue_macros.be0037e3-cgu.4.rcgu.o: in function `<T as core::convert::Into<U>>::into':
[INFO] [stdout]           /rustc/53fd98ca776cb875bc9e5514f56b52eb74f9e7a9/library/core/src/convert/mod.rs:540: undefined reference to `<T as core::convert::From<T>>::from'
[INFO] [stdout]           collect2: error: ld returned 1 exit status

Full log

This doesn't happen in 1.54. I'm not sure what's going on yet, next step is probably to reproduce locally.

Possibly related to #87002 (but that's for 1.54 and is fixed in 1.55)

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-needs-bisectionCall for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustcP-mediumMedium priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions