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

[Bug] sol! procedural macro getting error from rust-analyzer #427

Closed
cuckflong opened this issue Nov 21, 2023 · 1 comment
Closed

[Bug] sol! procedural macro getting error from rust-analyzer #427

cuckflong opened this issue Nov 21, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@cuckflong
Copy link

cuckflong commented Nov 21, 2023

Component

sol! macro

What version of Alloy are you on?

alloy-primitives v0.4.2 alloy-sol-types v0.4.2 alloy-primitives v0.4.2 (*) alloy-sol-macro v0.4.2 (proc-macro)

Operating System

Other (please specify)

Describe the bug

Example
image

@cuckflong cuckflong added the bug Something isn't working label Nov 21, 2023
@DaniPopes
Copy link
Member

The code compiles fine, it's a bug in RA. See rust-lang/rust-analyzer#15909 - it should be fixed in the latest "pre-release" version on VSCode. If not, you can disable it with "rust-analyzer.diagnostics.disabled": ["E0046"].

@DaniPopes DaniPopes closed this as not planned Won't fix, can't repro, duplicate, stale Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants