Rollup merge of #110417 - jsoref:spelling-compiler, r=Nilstrieb
Spelling compiler This is per https://github.com/rust-lang/rust/pull/110392#issuecomment-1510193656 I'm going to delay performing a squash because I really don't expect people to be perfectly happy w/ my changes, I really am a human and I really do make mistakes. r? Nilstrieb I'm going to be flying this evening, but I should be able to squash / respond to reviews w/in a day or two. I tried to be careful about dropping changes to `tests`, afaict only two files had changes that were likely related to the changes for a given commit (this is where not having eagerly squashed should have given me an advantage), but, that said, picking things apart can be error prone.
This commit is contained in:
commit
aa87addfb3
101 changed files with 159 additions and 159 deletions
|
@ -117,7 +117,7 @@ pub(crate) struct CrateMetadata {
|
|||
|
||||
/// Additional data used for decoding `HygieneData` (e.g. `SyntaxContext`
|
||||
/// and `ExpnId`).
|
||||
/// Note that we store a `HygieneDecodeContext` for each `CrateMetadat`. This is
|
||||
/// Note that we store a `HygieneDecodeContext` for each `CrateMetadata`. This is
|
||||
/// because `SyntaxContext` ids are not globally unique, so we need
|
||||
/// to track which ids we've decoded on a per-crate basis.
|
||||
hygiene_context: HygieneDecodeContext,
|
||||
|
@ -627,7 +627,7 @@ impl<'a, 'tcx> Decodable<DecodeContext<'a, 'tcx>> for Symbol {
|
|||
let pos = d.read_usize();
|
||||
let old_pos = d.opaque.position();
|
||||
|
||||
// move to str ofset and read
|
||||
// move to str offset and read
|
||||
d.opaque.set_position(pos);
|
||||
let s = d.read_str();
|
||||
let sym = Symbol::intern(s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue