You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using rust compiler version no less than 1.41.1
I am using the latest code (git checkout master && git pull origin)
I did cargo update
I recompiler adter removing target directory
Bug type
Put x in the boxes below:
Build issue
Test failing
Runtime panic
Incorrect results
Unexpected/undocumented behavior
Problem description
Derive display alt formatted string requires the same named args as the main string
Reproducing
Steps to reproduce the behavior: rust #[derive(Display)] #[display("node_info", alt = "{0}")] struct NodeInfo(u8),
Logs
error[E0425]: cannot find value `_0` in this scope117 | | #[display("node_info", alt = "{0}")]118 | | struct NodeInfo(u8), | |______________________^ not found in this scope
The text was updated successfully, but these errors were encountered:
Checklist
Put
x
in the boxes below:git checkout master && git pull origin
)cargo update
target
directoryBug type
Put
x
in the boxes below:Problem description
Derive display alt formatted string requires the same named args as the main string
Reproducing
Steps to reproduce the behavior:
rust #[derive(Display)] #[display("node_info", alt = "{0}")] struct NodeInfo(u8),
Logs
The text was updated successfully, but these errors were encountered: