mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-22 22:06:58 +00:00
Using the following command:
find compiler/ -type f -name '*.rs' -exec perl -i -gpe \
's/(#\[\w*suggestion)_(short|verbose|hidden)\(\s*(\S+,)?/\1(\3style = "\2",/g' \
'{}' +
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.