Skip to content

Rollup of 8 pull requests #103629

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

Merged
merged 23 commits into from
Oct 28, 2022
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
73d655e
remove redundant Send impls for references
RalfJung Oct 16, 2022
1610447
clarify documentation about the memory layout of `UnsafeCell`
Pointerbender Oct 20, 2022
def755e
Clean middle RPITITs correctly in rustdoc
compiler-errors Oct 22, 2022
5673536
fix typos
Pointerbender Oct 24, 2022
f9cace0
rustdoc: parse self-closing tags and attributes in `invalid_html_tags`
notriddle Oct 25, 2022
14caf73
Pull opaque type handling out of the type relating delegate
oli-obk Oct 7, 2022
196a429
Use the general type API instead of directly accessing register_hidde…
oli-obk Oct 7, 2022
f3bd222
Bubble the opaque type ordering int opaque type handling
oli-obk Oct 7, 2022
2283a5e
rustc_metadata: Add constructors to module children at encoding time
petrochenkov Oct 25, 2022
ed14202
Add flag to forbid recovery in the parser
Noratrieb Oct 25, 2022
de5517c
Remove unneeded sub-comparison
oli-obk Oct 19, 2022
796114a
Add documentation
Noratrieb Oct 26, 2022
da407ed
Fix typo
Noratrieb Oct 26, 2022
4d4b567
rustdoc: remove CSS workaround for Firefox 29
notriddle Oct 27, 2022
166d8b8
add "Memory layout" subsection to documentation of `UnsafeCell` for a…
Pointerbender Oct 27, 2022
6d43dfb
Rollup merge of #103110 - RalfJung:manual-send, r=thomcc
matthiaskrgr Oct 27, 2022
16e74c7
Rollup merge of #103255 - oli-obk:opaque_wrong_eq_relation, r=compile…
matthiaskrgr Oct 27, 2022
c75e6f5
Rollup merge of #103394 - Pointerbender:unsafecell-docs, r=Amanieu
matthiaskrgr Oct 27, 2022
571771e
Rollup merge of #103408 - compiler-errors:rpitit-rustdoc, r=Guillaume…
matthiaskrgr Oct 27, 2022
5623024
Rollup merge of #103505 - notriddle:notriddle/rustdoc-self-closing-ta…
matthiaskrgr Oct 27, 2022
4a01cab
Rollup merge of #103524 - petrochenkov:modchild4, r=cjgillot
matthiaskrgr Oct 27, 2022
f9dfb6e
Rollup merge of #103544 - Nilstrieb:no-recovery-pls, r=compiler-errors
matthiaskrgr Oct 27, 2022
ae4dc12
Rollup merge of #103616 - rust-lang:notriddle/moz-box-sizing, r=Guill…
matthiaskrgr Oct 27, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix typo
Co-authored-by: Esteban Kuber <estebank@users.noreply.github.com>
  • Loading branch information
Noratrieb and estebank authored Oct 26, 2022
commit da407ed38f6bcb79683379d59d18e615d2b8dfaa
2 changes: 1 addition & 1 deletion compiler/rustc_parse/src/parser/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ impl<'a> Parser<'a> {
/// If this returns false, recovering broken code into valid code (especially if this recovery does lookahead)
/// is not allowed. All recovery done by the parser must be gated behind this check.
///
/// Technically, this only needs to restruct eager recovery by doing lookahead at more tokens.
/// Technically, this only needs to restrict eager recovery by doing lookahead at more tokens.
/// But making the distinction is very subtle, and simply forbidding all recovery is a lot simpler to uphold.
fn may_recover(&self) -> bool {
matches!(self.recovery, Recovery::Allowed)
Expand Down