-
Notifications
You must be signed in to change notification settings - Fork 426
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
Linter: Warn when number primitive is annotated with #[ink(topic)]
#1837
Merged
Commits on Jun 26, 2023
-
The initial structure of the linting crate and tests
Nedeed for use-ink#1436
Georgiy Komarov committedJun 26, 2023 Configuration menu - View commit details
-
Copy full SHA for 7ca2cf7 - Browse repository at this point
Copy the full SHA 7ca2cf7View commit details
Commits on Jul 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 574fc18 - Browse repository at this point
Copy the full SHA 574fc18View commit details
Commits on Jul 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0938d13 - Browse repository at this point
Copy the full SHA 0938d13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 173d9ae - Browse repository at this point
Copy the full SHA 173d9aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4068abc - Browse repository at this point
Copy the full SHA 4068abcView commit details
Commits on Jul 28, 2023
-
fix(primitive_topic): Lint suppressions
The problem with suppressions is that `rustc` saves the state of the last visited node and checks its attributes to decide if the lint warning should be suppressed there (see: [LateContext::last_node_with_lint_attrs](https://github.com/rust-lang/rust/blob/c44324a4fe8e96f9d6473255df6c3a481caca76f/compiler/rustc_lint/src/context.rs#L1105)). This commit adds a call to the utility function from clippy that checks if the lint is suppressed for the field definition node, not for the last node (which is `Topics` impl).
Configuration menu - View commit details
-
Copy full SHA for 72bb431 - Browse repository at this point
Copy the full SHA 72bb431View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa802c3 - Browse repository at this point
Copy the full SHA aa802c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6157877 - Browse repository at this point
Copy the full SHA 6157877View commit details -
Configuration menu - View commit details
-
Copy full SHA for 941125a - Browse repository at this point
Copy the full SHA 941125aView commit details
Commits on Jul 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f10985b - Browse repository at this point
Copy the full SHA f10985bView commit details
Commits on Aug 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a89088b - Browse repository at this point
Copy the full SHA a89088bView commit details
Commits on Aug 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3f99ce9 - Browse repository at this point
Copy the full SHA 3f99ce9View commit details -
Configuration menu - View commit details
-
Copy full SHA for f66bd95 - Browse repository at this point
Copy the full SHA f66bd95View commit details
Commits on Aug 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fe26eaf - Browse repository at this point
Copy the full SHA fe26eafView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.