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 9 pull requests #66143

Merged
merged 34 commits into from
Nov 6, 2019
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
c17f89d
caller_location: point to macro invocation sites, like file!/line!.
eddyb Oct 30, 2019
49f9626
caller_location: use in core::panic!.
eddyb Oct 30, 2019
1b154a3
Rename `LocalInternedString` as `SymbolStr`.
nnethercote Oct 21, 2019
2f7d7c2
Remove an erroneous comment.
nnethercote Oct 21, 2019
e6d541a
Add some explanatory comments.
nnethercote Oct 22, 2019
9cf59b5
Remove some unnecessary renamings of constants.
nnethercote Oct 21, 2019
5bc7084
Convert `x.as_str().to_string()` to `x.to_string()` where possible.
nnethercote Oct 21, 2019
b9cef69
Simplify various `Symbol` use points.
nnethercote Oct 22, 2019
d0db290
Remove the `AsRef` impl for `SymbolStr`.
nnethercote Oct 22, 2019
0825b35
librustc_lexer: Add methods "first" and "second" to the "Cursor"
popzxc Nov 3, 2019
72767a8
librustc_lexer: Introduce "eat_while" and "eat_identifier" methods
popzxc Nov 3, 2019
e0c45f7
librustc_lexer: Make "eat_float_exponent" return bool instead of result
popzxc Nov 3, 2019
649a524
librustc_lexer: Simplify "single_quoted_string" method
popzxc Nov 3, 2019
d6f722d
librustc_lexer: Simplify "double_quoted_string" method
popzxc Nov 3, 2019
6e350bd
librustc_lexer: Simplify "raw_double_quoted_string" method
popzxc Nov 3, 2019
1943079
Configure LLVM module PIC level
smaeul Nov 3, 2019
ecd2673
librustc_lexer: Simplify "lifetime_or_char" method
popzxc Nov 3, 2019
e8b8d2a
librustc_lexer: Reorder imports in lib.rs
popzxc Nov 3, 2019
31735b0
librustc_lexer: Make nth_char method private
popzxc Nov 3, 2019
90b8d34
bump smallvec to 1.0
RalfJung Nov 4, 2019
23d2211
Use KERN_ARND syscall for random numbers on NetBSD, same as FreeBSD.
alarixnia Nov 4, 2019
b4f92ea
Use any() in code shared between FreeBSD and NetBSD
alarixnia Nov 4, 2019
d01ebbb
Add target thumbv7neon-unknown-linux-musleabihf
smaeul Nov 5, 2019
73df5c5
Update the bundled `wasi-libc` repository
alexcrichton Nov 5, 2019
ad550b8
use American spelling for `pluralize!`
euclio Nov 5, 2019
a0b4b4d
Rollup merge of #65776 - nnethercote:rename-LocalInternedString-and-m…
Centril Nov 6, 2019
24af0c9
Rollup merge of #65973 - eddyb:caller-location-panic, r=petrochenkov
Centril Nov 6, 2019
81550a0
Rollup merge of #66015 - popzxc:refactor-librustc_parser, r=matklad
Centril Nov 6, 2019
98cbe17
Rollup merge of #66062 - smaeul:patch/pic-level, r=estebank
Centril Nov 6, 2019
167b8fe
Rollup merge of #66086 - RalfJung:smallvec, r=nagisa
Centril Nov 6, 2019
828a3ee
Rollup merge of #66092 - niacat:master, r=nagisa
Centril Nov 6, 2019
40558c3
Rollup merge of #66103 - smaeul:patch/thumb-musl, r=nagisa
Centril Nov 6, 2019
7f7218f
Rollup merge of #66133 - alexcrichton:update-wasi-libc, r=Mark-Simula…
Centril Nov 6, 2019
4f9651b
Rollup merge of #66139 - euclio:pluralize, r=nagisa
Centril Nov 6, 2019
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
Remove an erroneous comment.
  • Loading branch information
nnethercote committed Nov 1, 2019
commit 2f7d7c2ca44a1487157394e1562e793dbb3db81f
1 change: 0 additions & 1 deletion src/libsyntax_pos/symbol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,6 @@ impl Ident {
}
}

// If an interner exists, return it. Otherwise, prepare a fresh one.
#[inline]
fn with_interner<T, F: FnOnce(&mut Interner) -> T>(f: F) -> T {
GLOBALS.with(|globals| f(&mut *globals.symbol_interner.lock()))
Expand Down