Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

Improve fp module annotations to automatically derive module path #158

Open

Description

@sagacity

Right now fp annotations that end with *_module (e.g. fp(rust_plugin_module = "my_crate::types")) add quite some verbosity since the module path of the original types needs to be explicity specified. We should consider if we can generate this information automatically.

There is currently a nightly-only feature that allows us to retrieve the source_file of a Span, but this is not available in stable Rust yet. Once this is available, we can clean up the annotation.

Activity

  1. added
    enhancement
    on Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions