There are some structures that are called "globals", but are they global to a compilation session, and not truly global. I have always found this highly confusing, so this commit renames them as "session globals" and adds a comment explaining things. Also, the commit fixes an unnecessary nesting of `set()` calls `src/librustc_errors/json/tests.rs` |
||
|---|---|---|
| .. | ||
| Cargo.toml | ||
| lib.rs | ||
| tests.rs | ||