woboq / tr

Translation tools for rust
58 stars 10 forks source link

Support modules with raw identifiers #19

Closed henrikhorluck closed 1 year ago

henrikhorluck commented 1 year ago

Example: If processing a module named r#match the visitor would look for a file named r#match.rs, instead of the actual match.rs. We now remove the r# prefix to find the correct file.

ogoffart commented 1 year ago

Thanks for the patch!