Skip to content
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

Missing feature gate negative_impls #2962

Open
P-E-P opened this issue Apr 23, 2024 · 2 comments
Open

Missing feature gate negative_impls #2962

P-E-P opened this issue Apr 23, 2024 · 2 comments

Comments

@P-E-P
Copy link
Member

P-E-P commented Apr 23, 2024

This feature gate is missing, even though it is required in order to compile core.

https://doc.rust-lang.org/beta/unstable-book/language-features/negative-impls.html

GCCRS shall be able to understand the following attribute and reject negative impls when it is missing.

#![feature(negative_impls)]
@badumbatish
Copy link
Contributor

where should I perform rust_error() for missing feature gates, I'm not sure which file i should look into for this ?

@P-E-P
Copy link
Member Author

P-E-P commented May 10, 2024

where should I perform rust_error() for missing feature gates, I'm not sure which file i should look into for this ?

@badumbatish IIRC you should look into gcc/rust/checks/errors/rust-feature-gate.*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

3 participants