Skip to content
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

Rollup of 14 pull requests #74117

Merged
merged 35 commits into from
Jul 7, 2020
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
7d7221c
typeck: adding type information to projection
Azhng Jun 24, 2020
8dc1e42
libstd/net/tcp.rs: #![deny(unsafe_op_in_unsafe_fn)]
ryr3 Jul 2, 2020
ec31b4e
Audit uses of `span_suggestion_short`
JohnTitor Jul 2, 2020
84282fd
Audit uses of `tool_only_span_suggestion`
JohnTitor Jul 2, 2020
d5141e6
No need to call getPageId a second time
GuillaumeGomez Mar 30, 2020
0fcb7da
Improve page hash handling
GuillaumeGomez Mar 30, 2020
fc61cca
Expand sub code blocks block content when hidden when the page hash r…
GuillaumeGomez Mar 30, 2020
cdabdfa
Simplify DOM by removing IDs for code tags
GuillaumeGomez Jun 27, 2020
2453946
Update rustdoc tests
GuillaumeGomez Jun 27, 2020
af29620
Fix links
GuillaumeGomez Jun 27, 2020
e955beb
Remove render-redirect-pages option in rustdoc
GuillaumeGomez Jul 2, 2020
1b747a0
mir: mark mir construction temporaries as internal
davidtwco Jul 2, 2020
7391bf8
Move A|Rc::as_ptr from feature(weak_into_raw)
CAD97 Jul 2, 2020
ee8dd4e
Fix const prop ICE
oli-obk Jul 4, 2020
2f31426
rustdoc: Restore underline text decoration on hover for FQN in header
rye Jul 5, 2020
5fa19ad
Remove unused RUSTC_DEBUG_ASSERTIONS
tmiasko Jul 6, 2020
6196eaa
Fix the return type of Windows' `OpenOptionsExt::security_qos_flags`.
sunfishcode Jul 3, 2020
e46c187
Always resolve type@primitive as a primitive, not a module
jyn514 Jul 6, 2020
fdd39a3
Add rust-analyzer to the build manifest
matklad Jul 6, 2020
7610ab3
Expand abbreviation in core::ffi description
pierwill Jul 6, 2020
36e50a0
Edit librustc_lexer top-level docs
pierwill Jun 28, 2020
218d96e
Rollup merge of #70563 - GuillaumeGomez:page-hash-handling, r=ollie27…
Manishearth Jul 7, 2020
3f90287
Rollup merge of #73856 - pierwill:pierwill-lexer-doc, r=jonas-schievink
Manishearth Jul 7, 2020
7942d9a
Rollup merge of #73870 - sexxi-goose:projection-ty, r=nikomatsakis
Manishearth Jul 7, 2020
e74ab50
Rollup merge of #73953 - JohnTitor:audit-hidden-sugg, r=estebank
Manishearth Jul 7, 2020
ca5b64d
Rollup merge of #73962 - ryr3:unsafe_tcp, r=LukasKalbertodt
Manishearth Jul 7, 2020
62ba1bf
Rollup merge of #73969 - davidtwco:issue-73914-checkedadd-temp-genera…
Manishearth Jul 7, 2020
7d7b3e6
Rollup merge of #73974 - CAD97:rc-no-weak, r=dtolnay
Manishearth Jul 7, 2020
3199aeb
Rollup merge of #74067 - rye:rustdoc-fqn-hover-underline, r=Guillaume…
Manishearth Jul 7, 2020
86f8c53
Rollup merge of #74074 - sunfishcode:windows-openoptionsext-return-ty…
Manishearth Jul 7, 2020
ecc6f56
Rollup merge of #74078 - jyn514:lut, r=Manishearth
Manishearth Jul 7, 2020
caa858b
Rollup merge of #74089 - matklad:ship-rust-analyzer-some-more, r=piet…
Manishearth Jul 7, 2020
50e22bd
Rollup merge of #74090 - tmiasko:rustc-debug-assertions, r=RalfJung
Manishearth Jul 7, 2020
38f5151
Rollup merge of #74102 - oli-obk:const_prop_icde, r=wesleywiser
Manishearth Jul 7, 2020
73f2069
Rollup merge of #74112 - pierwill:patch-2, r=sfackler
Manishearth Jul 7, 2020
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
Edit librustc_lexer top-level docs
Add link to librustc_parse::lexer
pierwill committed Jul 6, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 36e50a0fb3e91552425bbae89aba411e46c4c27a
9 changes: 5 additions & 4 deletions src/librustc_lexer/src/lib.rs
Original file line number Diff line number Diff line change
@@ -6,17 +6,18 @@
//! produces simple tokens which are a pair of type-tag and a bit of original text,
//! and does not report errors, instead storing them as flags on the token.
//!
//! Tokens produced by this lexer are not yet ready for parsing the Rust syntax,
//! for that see `librustc_parse::lexer`, which converts this basic token stream
//! Tokens produced by this lexer are not yet ready for parsing the Rust syntax.
//! For that see [`librustc_parse::lexer`], which converts this basic token stream
//! into wide tokens used by actual parser.
//!
//! The purpose of this crate is to convert raw sources into a labeled sequence
//! of well-known token types, so building an actual Rust token stream will
//! be easier.
//!
//! Main entity of this crate is [`TokenKind`] enum which represents common
//! The main entity of this crate is the [`TokenKind`] enum which represents common
//! lexeme types.

//!
//! [`librustc_parse::lexer`]: ../rustc_parse/lexer/index.html
// We want to be able to build this crate with a stable compiler, so no
// `#![feature]` attributes should be added.