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 8 pull requests #69996

Closed
wants to merge 26 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
22ee27b
update backtrace crate
RalfJung Mar 5, 2020
3ba89e8
Remove quotes around unknown fn placeholder in backtrace
dtolnay Feb 13, 2020
db75b6a
Add quotes around filename in Backtrace debug
dtolnay Feb 13, 2020
1f1ca87
Change disabled and unsupported backtraces to print using placeholder…
dtolnay Feb 13, 2020
a9cc010
Make it possible to instantiate hardcoded Backtrace from test
dtolnay Feb 13, 2020
33600e4
Add test of Debug representation of Backtrace
dtolnay Feb 13, 2020
a2364dc
Write backtrace fmt test using relative paths
dtolnay Mar 9, 2020
9552d2e
bump backtrace-sys
RalfJung Mar 10, 2020
cdc7304
Compute the correct layout for variants of uninhabited enums and read…
oli-obk Mar 6, 2020
ec88ffa
Comment nits
oli-obk Mar 11, 2020
74608c7
Rustfmt and adjust capitalization
oli-obk Mar 11, 2020
543832b
Regenerate tables for Unicode 13.0.0
cuviper Mar 11, 2020
e809e02
ast: `Mac`/`Macro` -> `MacCall`
petrochenkov Feb 29, 2020
b2ad1ab
More Method->Fn renaming
mark-i-m Mar 5, 2020
b9aef25
update comment
mark-i-m Mar 7, 2020
c8b527e
change method -> associated function
mark-i-m Feb 26, 2020
b6518f0
update tests
mark-i-m Mar 5, 2020
40ffcc2
Add self to .mailmap
kraai Mar 13, 2020
8f35707
Rollup merge of #69122 - dtolnay:backtrace, r=cramertj
JohnTitor Mar 14, 2020
0ffd85d
Rollup merge of #69498 - mark-i-m:describe-it-2, r=matthewjasper
JohnTitor Mar 14, 2020
7a252f7
Rollup merge of #69589 - petrochenkov:maccall, r=Centril
JohnTitor Mar 14, 2020
abbb9f4
Rollup merge of #69729 - RalfJung:backtrace, r=Mark-Simulacrum
JohnTitor Mar 14, 2020
7cae549
Rollup merge of #69738 - mark-i-m:assoc-fn-2, r=Centril
JohnTitor Mar 14, 2020
5ef02a5
Rollup merge of #69768 - oli-obk:union_field_ice, r=eddyb,RalfJung
JohnTitor Mar 14, 2020
8187795
Rollup merge of #69929 - cuviper:unicode-13.0.0, r=Mark-Simulacrum
JohnTitor Mar 14, 2020
1ffa1b7
Rollup merge of #69987 - kraai:mailmap, r=nikomatsakis
JohnTitor Mar 14, 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
3 changes: 3 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ Mateusz Mikuła <[email protected]> <[email protected]>
Mateusz Mikuła <[email protected]> <[email protected]>
Matt Brubeck <[email protected]> <[email protected]>
Matthew Auld <[email protected]>
Matthew Kraai <[email protected]>
Matthew Kraai <[email protected]> <[email protected]>
Matthew Kraai <[email protected]> <[email protected]>
Matthew McPherrin <[email protected]> <[email protected]>
Matthijs Hofstra <[email protected]>
Melody Horn <[email protected]> <[email protected]>
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ checksum = "1d49d90015b3c36167a20fe2810c5cd875ad504b39cff3d4eae7977e6b7c1cb2"

[[package]]
name = "backtrace"
version = "0.3.44"
version = "0.3.45"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e4036b9bf40f3cf16aba72a3d65e8a520fc4bafcdc7079aea8f848c58c5b5536"
checksum = "ad235dabf00f36301792cfe82499880ba54c6486be094d1047b02bacb67c14e8"
dependencies = [
"backtrace-sys",
"cfg-if",
Expand All @@ -135,9 +135,9 @@ dependencies = [

[[package]]
name = "backtrace-sys"
version = "0.1.32"
version = "0.1.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5d6575f128516de27e3ce99689419835fce9643a9b215a14d2b5b685be018491"
checksum = "ca797db0057bae1a7aa2eef3283a874695455cecf08a43bfb8507ee0ebc1ed69"
dependencies = [
"cc",
"compiler_builtins",
Expand Down
173 changes: 92 additions & 81 deletions src/libcore/unicode/printable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub(crate) fn is_printable(x: char) -> bool {
} else if x < 0x20000 {
check(lower, SINGLETONS1U, SINGLETONS1L, NORMAL1)
} else {
if 0x2a6d7 <= x && x < 0x2a700 {
if 0x2a6de <= x && x < 0x2a700 {
return false;
}
if 0x2b735 <= x && x < 0x2b740 {
Expand All @@ -59,7 +59,10 @@ pub(crate) fn is_printable(x: char) -> bool {
if 0x2ebe1 <= x && x < 0x2f800 {
return false;
}
if 0x2fa1e <= x && x < 0xe0100 {
if 0x2fa1e <= x && x < 0x30000 {
return false;
}
if 0x3134b <= x && x < 0xe0100 {
return false;
}
if 0xe01f0 <= x && x < 0x110000 {
Expand All @@ -81,7 +84,7 @@ const SINGLETONS0U: &[(u8, u8)] = &[
(0x0a, 28),
(0x0b, 25),
(0x0c, 20),
(0x0d, 18),
(0x0d, 16),
(0x0e, 13),
(0x0f, 4),
(0x10, 3),
Expand All @@ -96,7 +99,7 @@ const SINGLETONS0U: &[(u8, u8)] = &[
(0x1d, 1),
(0x1f, 22),
(0x20, 3),
(0x2b, 4),
(0x2b, 3),
(0x2c, 2),
(0x2d, 11),
(0x2e, 1),
Expand Down Expand Up @@ -129,29 +132,29 @@ const SINGLETONS0L: &[u8] = &[
0x4a, 0x5e, 0x64, 0x65, 0x84, 0x91, 0x9b, 0x9d,
0xc9, 0xce, 0xcf, 0x0d, 0x11, 0x29, 0x45, 0x49,
0x57, 0x64, 0x65, 0x8d, 0x91, 0xa9, 0xb4, 0xba,
0xbb, 0xc5, 0xc9, 0xdf, 0xe4, 0xe5, 0xf0, 0x04,
0x0d, 0x11, 0x45, 0x49, 0x64, 0x65, 0x80,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a, 5),
(0x0b, 2),
(0x0e, 4),
(0x10, 1),
(0x11, 4),
(0x11, 2),
(0x12, 5),
(0x13, 17),
(0x14, 2),
(0x14, 1),
(0x15, 2),
(0x17, 2),
(0x19, 4),
(0x19, 13),
(0x1c, 5),
(0x1d, 8),
(0x24, 1),
Expand All @@ -188,32 +192,35 @@ const SINGLETONS1U: &[(u8, u8)] = &[
(0xe8, 2),
(0xee, 32),
(0xf0, 4),
(0xf9, 6),
(0xf8, 2),
(0xf9, 2),
(0xfa, 2),
(0xfb, 1),
];
#[rustfmt::skip]
const SINGLETONS1L: &[u8] = &[
0x0c, 0x27, 0x3b, 0x3e, 0x4e, 0x4f, 0x8f, 0x9e,
0x9e, 0x9f, 0x06, 0x07, 0x09, 0x36, 0x3d, 0x3e,
0x56, 0xf3, 0xd0, 0xd1, 0x04, 0x14, 0x18, 0x36,
0x37, 0x56, 0x57, 0xbd, 0x35, 0xce, 0xcf, 0xe0,
0x12, 0x87, 0x89, 0x8e, 0x9e, 0x04, 0x0d, 0x0e,
0x11, 0x12, 0x29, 0x31, 0x34, 0x3a, 0x45, 0x46,
0x49, 0x4a, 0x4e, 0x4f, 0x64, 0x65, 0x5a, 0x5c,
0xb6, 0xb7, 0x1b, 0x1c, 0xa8, 0xa9, 0xd8, 0xd9,
0x09, 0x37, 0x90, 0x91, 0xa8, 0x07, 0x0a, 0x3b,
0x3e, 0x66, 0x69, 0x8f, 0x92, 0x6f, 0x5f, 0xee,
0xef, 0x5a, 0x62, 0x9a, 0x9b, 0x27, 0x28, 0x55,
0x9d, 0xa0, 0xa1, 0xa3, 0xa4, 0xa7, 0xa8, 0xad,
0xba, 0xbc, 0xc4, 0x06, 0x0b, 0x0c, 0x15, 0x1d,
0x3a, 0x3f, 0x45, 0x51, 0xa6, 0xa7, 0xcc, 0xcd,
0xa0, 0x07, 0x19, 0x1a, 0x22, 0x25, 0x3e, 0x3f,
0xc5, 0xc6, 0x04, 0x20, 0x23, 0x25, 0x26, 0x28,
0x33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c, 0x6e, 0x6f, 0x93,
];
#[rustfmt::skip]
const NORMAL0: &[u8] = &[
Expand All @@ -225,7 +232,7 @@ const NORMAL0: &[u8] = &[
0x06, 0x11,
0x81, 0xac, 0x0e,
0x80, 0xab, 0x35,
0x1e, 0x15,
0x28, 0x0b,
0x80, 0xe0, 0x03,
0x19, 0x08,
0x01, 0x04,
Expand All @@ -237,8 +244,8 @@ const NORMAL0: &[u8] = &[
0x11, 0x0a,
0x50, 0x0f,
0x12, 0x07,
0x55, 0x08,
0x02, 0x04,
0x55, 0x07,
0x03, 0x04,
0x1c, 0x0a,
0x09, 0x03,
0x08, 0x03,
Expand Down Expand Up @@ -292,7 +299,7 @@ const NORMAL0: &[u8] = &[
0x0b, 0x03,
0x80, 0xac, 0x06,
0x0a, 0x06,
0x1f, 0x41,
0x21, 0x3f,
0x4c, 0x04,
0x2d, 0x03,
0x74, 0x08,
Expand All @@ -315,21 +322,19 @@ const NORMAL0: &[u8] = &[
0x3b, 0x07,
0x02, 0x0e,
0x18, 0x09,
0x80, 0xb0, 0x30,
0x80, 0xb3, 0x2d,
0x74, 0x0c,
0x80, 0xd6, 0x1a,
0x0c, 0x05,
0x80, 0xff, 0x05,
0x80, 0xb6, 0x05,
0x24, 0x0c,
0x9b, 0xc6, 0x0a,
0xd2, 0x30, 0x10,
0x80, 0xdf, 0x0c,
0xee, 0x0d, 0x03,
0x84, 0x8d, 0x03,
0x37, 0x09,
0x81, 0x5c, 0x14,
0x80, 0xb8, 0x08,
0x80, 0xc7, 0x30,
0x35, 0x04,
0x80, 0xcb, 0x2a,
0x38, 0x03,
0x0a, 0x06,
0x38, 0x08,
0x46, 0x08,
Expand All @@ -341,7 +346,7 @@ const NORMAL0: &[u8] = &[
0x80, 0x83, 0x18,
0x1c, 0x0a,
0x16, 0x09,
0x48, 0x08,
0x4c, 0x04,
0x80, 0x8a, 0x06,
0xab, 0xa4, 0x0c,
0x17, 0x04,
Expand All @@ -365,7 +370,7 @@ const NORMAL1: &[u8] = &[
0x7b, 0x05,
0x03, 0x04,
0x2d, 0x03,
0x65, 0x04,
0x66, 0x03,
0x01, 0x2f,
0x2e, 0x80, 0x82,
0x1d, 0x03,
Expand Down Expand Up @@ -410,16 +415,17 @@ const NORMAL1: &[u8] = &[
0x33, 0x07,
0x2e, 0x08,
0x0a, 0x81, 0x26,
0x1f, 0x80, 0x81,
0x52, 0x4e,
0x28, 0x08,
0x2a, 0x80, 0x86,
0x2a, 0x56,
0x1c, 0x14,
0x17, 0x09,
0x4e, 0x04,
0x1e, 0x0f,
0x43, 0x0e,
0x19, 0x07,
0x0a, 0x06,
0x47, 0x09,
0x48, 0x08,
0x27, 0x09,
0x75, 0x0b,
0x3f, 0x41,
Expand All @@ -430,7 +436,7 @@ const NORMAL1: &[u8] = &[
0x01, 0x05,
0x10, 0x03,
0x05, 0x80, 0x8b,
0x60, 0x20,
0x62, 0x1e,
0x48, 0x08,
0x0a, 0x80, 0xa6,
0x5e, 0x22,
Expand All @@ -443,7 +449,8 @@ const NORMAL1: &[u8] = &[
0x10, 0x80, 0xc0,
0x3c, 0x64,
0x53, 0x0c,
0x01, 0x80, 0xa0,
0x48, 0x09,
0x0a, 0x46,
0x45, 0x1b,
0x48, 0x08,
0x53, 0x1d,
Expand All @@ -456,7 +463,8 @@ const NORMAL1: &[u8] = &[
0x0a, 0x06,
0x39, 0x07,
0x0a, 0x81, 0x36,
0x19, 0x80, 0xc7,
0x19, 0x80, 0xb7,
0x01, 0x0f,
0x32, 0x0d,
0x83, 0x9b, 0x66,
0x75, 0x0b,
Expand All @@ -474,9 +482,11 @@ const NORMAL1: &[u8] = &[
0x4b, 0x04,
0x39, 0x07,
0x11, 0x40,
0x04, 0x1c,
0x05, 0x0b,
0x02, 0x0e,
0x97, 0xf8, 0x08,
0x82, 0xf3, 0xa5, 0x0d,
0x84, 0xd6, 0x2a,
0x09, 0xa2, 0xf7,
0x81, 0x1f, 0x31,
0x03, 0x11,
0x04, 0x08,
Expand Down Expand Up @@ -515,30 +525,31 @@ const NORMAL1: &[u8] = &[
0x2c, 0x04,
0x64, 0x0c,
0x56, 0x0a,
0x0d, 0x03,
0x5d, 0x03,
0x3d, 0x39,
0x80, 0xae, 0x38,
0x1d, 0x0d,
0x2c, 0x04,
0x09, 0x07,
0x02, 0x0e,
0x06, 0x80, 0x9a,
0x83, 0xd6, 0x0a,
0x83, 0xd8, 0x08,
0x0d, 0x03,
0x0d, 0x03,
0x0b, 0x05,
0x74, 0x0c,
0x59, 0x07,
0x0c, 0x14,
0x0c, 0x04,
0x38, 0x08,
0x0a, 0x06,
0x28, 0x08,
0x1e, 0x52,
0x77, 0x03,
0x31, 0x03,
0x80, 0xa6, 0x0c,
0x14, 0x04,
0x22, 0x4e,
0x81, 0x54, 0x0c,
0x15, 0x03,
0x03, 0x05,
0x07, 0x09,
0x19, 0x07,
0x07, 0x09,
0x03, 0x0d,
0x06, 0x85, 0x6a,
0x07, 0x29,
0x80, 0xcb, 0x25,
0x0a, 0x84, 0x06,
];
Loading