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

Does not recognize functions annotated with actix_web::get #10844

Open
luxalpa opened this issue Sep 6, 2023 · 0 comments
Open

Does not recognize functions annotated with actix_web::get #10844

luxalpa opened this issue Sep 6, 2023 · 0 comments

Comments

@luxalpa
Copy link

luxalpa commented Sep 6, 2023

Environment

  • IntelliJ Rust plugin version: 0.4.200.5421-232
  • Rust toolchain version: 1.73.0-nightly (39f42ad9e 2023-07-19) x86_64-pc-windows-msvc
  • IDE name and version: CLion 2023.2.1 (CL-232.9559.58)
  • Operating system: Windows 11.0
  • Macro expansion: enabled
  • Additional experimental features: org.rust.macros.proc.attr, org.rust.macros.proc

Problem description

Using the default project from Leptos (https://github.com/leptos-rs/start), the plugin does not recognize the favicon function in main.rs. Commenting out the attribute macro #[actix_web::get("favicon.ico")] makes it recognize the function again, but it's obviously not a possible workaround.

Steps to reproduce

  • use actix_web and annotate a function with #[actix_web::get("something")]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant