Skip to content

jneem/macro-error-location

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo demonstrates an issue with rust proc macros failing to round-trip spans.

If you run cargo check in the crate root, you should see two debug-printed token trees that are exactly the same as one another. But if you run rust-analyzer diagnostics ., you should see two debug-printed token trees that differ, in that the second one has Groups with nonsense spans.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published