-
Notifications
You must be signed in to change notification settings - Fork 531
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
feat: Ignore warning #6736
Comments
you want to specifically allow dual access to the same storage area? |
Yes, we need it, for example when upgrading to have access to the slots, while extracting the code in a component |
I'm thinking of something like #[legacy] to mark a field we shouldn't check |
That would solve this specific issue. |
some are already ignored using some |
Then I see the need for a way to indicate that I don’t want a warning about conflicting storage keys. |
Feature Request
Describe the Feature Request
In some situation I'd like to be able to ignore specific warnings.
Describe Preferred Solution
Some sort of
#![allow(dead_code)]
or#![allow(colliding_path)]
when dealing with component having the same storage slot.If the feature request is approved, would you be willing to submit a PR?
(Help can be provided if you need assistance submitting a PR)
The text was updated successfully, but these errors were encountered: