We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Problem
A Certain combination of lifetime bounds cause compiler to exit with a non-zero status.
Appears to be reproducible only on Linux. Compiles as expected on MacOs with similar versions of rustup and cargo.
Steps
pub trait SomeTrait {} struct SomeGeneric<T>{ field : T } pub type SomeType<T: 'static + SomeTrait + ?Sized> = SomeGeneric<T>;
cargo build
Notes
Removing any one of the above bounds results in a successful compilation, e.g:
# lsb_release -a Distributor ID: Ubuntu Description: Ubuntu 18.04.3 LTS Release: 18.04 Codename: bionic
The text was updated successfully, but these errors were encountered:
Thanks for the report! I've transferred this issue to rust-lang/rust since I don't think this is an issue with Cargo itself.
Sorry, something went wrong.
Fixed on beta/nightly
Thanks all!
Fixed PR is #67880.
No branches or pull requests
Problem
A Certain combination of lifetime bounds cause compiler to exit with a non-zero status.
Appears to be reproducible only on Linux. Compiles as expected on MacOs with similar versions of rustup and cargo.
Steps
cargo build
Notes
Removing any one of the above bounds results in a successful compilation, e.g:
The text was updated successfully, but these errors were encountered: