Skip to content

godot_api attribute proc macro hits new rust-analyzer orphan trait implementation checks #490

Closed
@DamnWidget

Description

@DamnWidget

Abstract

The rust-analyzer LSP made a new release recently introducing a new feature for diagnose orphan trait implementation cases rust-lang/rust-analyzer#15895

Godot crate hits this new check wherever #[godot_api] attribute proc macro is being used

image

Workaround

I did not found a setting in rust-analyzer to disable the check so the only workaround for now is to downgrade your rust-analyzer version to a lower one.

P.S: if there is a setting to disable this check, please, let me know

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: registerRegister classes, functions and other symbols to GDScriptquality-of-lifeNo new functionality, but improves ergonomics/internalsstatus: upstreamDepending on upstream fix (typically Godot)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions