Derive macros don't bound associated types consistently #139231
Labels
A-associated-items
Area: Associated items (types, constants & functions)
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
C-bug
Category: This is a bug.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: No error.
Instead, this happened:
Error on
Long
only:Macro output:
Meta
Playground link.
Tested on both stable 1.85.1 and nightly 1.88.0-nightly (2025-03-31 0b45675).
The text was updated successfully, but these errors were encountered: