gccrs icon indicating copy to clipboard operation
gccrs copied to clipboard

Missing feature gate `negative_impls`

Open P-E-P opened this issue 1 year ago • 2 comments

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)]

P-E-P avatar Apr 23 '24 13:04 P-E-P

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

badumbatish avatar May 08 '24 07:05 badumbatish

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.*

P-E-P avatar May 10 '24 09:05 P-E-P

Fixed in #3002

CohenArthur avatar Jun 10 '24 13:06 CohenArthur