- Notifications
You must be signed in to change notification settings - Fork 14k
Aggregation of cosmetic changes made during work on REPL PRs: misc. #64275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| fn atomic_fence(&mut self, order: AtomicOrdering, scope: SynchronizationScope); | ||
| fn set_invariant_load(&mut self, load: Self::Value); | ||
| | ||
| /// Called for `StorageLive` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert removal of backticks.
| impl rustc_serialize::UseSpecializedDecodable for Fingerprint { } | ||
| | ||
| impl rustc_serialize::SpecializedEncoder<Fingerprint> for Encoder { | ||
| #[inline] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Semantic change.
| } | ||
| | ||
| impl<'a> rustc_serialize::SpecializedDecoder<Fingerprint> for Decoder<'a> { | ||
| #[inline] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Semantic change.
| pub(crate) sess: Lrc<Session>, | ||
| codegen_backend: Lrc<Box<dyn CodegenBackend>>, | ||
| source_map: Lrc<SourceMap>, | ||
| pub codegen_backend: Lrc<Box<dyn CodegenBackend>>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Semantic changes here.
| | ||
| #[derive(Default)] | ||
| pub(crate) struct Queries { | ||
| pub struct Queries { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Semantic change here.
| })?; | ||
| let multibyte_chars: Vec<MultiByteChar> = | ||
| d.read_struct_field("multibyte_chars", 7, |d| Decodable::decode(d))?; | ||
| d.read_struct_field("multibyte_chars", 6, |d| Decodable::decode(d))?; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Semantic changes here, revert.
| d.read_struct_field("multibyte_chars", 6, |d| Decodable::decode(d))?; | ||
| let non_narrow_chars: Vec<NonNarrowChar> = | ||
| d.read_struct_field("non_narrow_chars", 8, |d| Decodable::decode(d))?; | ||
| d.read_struct_field("non_narrow_chars", 7, |d| Decodable::decode(d))?; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Semantic changes here, revert.
| d.read_struct_field("non_narrow_chars", 7, |d| Decodable::decode(d))?; | ||
| let name_hash: u128 = | ||
| d.read_struct_field("name_hash", 9, |d| Decodable::decode(d))?; | ||
| d.read_struct_field("name_hash", 8, |d| Decodable::decode(d))?; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Semantic changes here, revert.
| // compile-flags: -Z span_free_formats -Z mir-emit-retag | ||
| | ||
| // Tests that MIR inliner fixes up `Retag`'s `fn_entry` flag | ||
| // Tests that MIR inliner fixes up Retag's `fn_entry` flag. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert; should have backticks.
| @@ -1,4 +1,4 @@ | |||
| // Whenever a `StorageDead` MIR statement destroys a value `x`, | |||
| // Whenever a StorageDead MIR statement destroys a value `x`, | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert, should have backticks.
| Thanks for the PR. Unfortunately, as per our rules set up in #58619, I am closing this PR. |
Factored out from hacking on rustc for work on the REPL.
r? @Centril