Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 2 commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
3caf0bc
Accept `m!{ .. }.method()` and `m!{ .. }?` statements.
m-ou-se Sep 6, 2021
ebf1252
Add test for braced-macro followed by `.` or `?`.
m-ou-se Sep 6, 2021
ce35f8e
remap-cwd-prefix
danakj Jul 22, 2021
2a687de
Move documentation to the unstable book
danakj Sep 7, 2021
2691a39
Revert "Allow formatting `Anonymous{Struct, Union}` declarations"
pnkfelix Sep 8, 2021
2041fb1
Revert "Add test for pretty printing anonymous types"
pnkfelix Sep 8, 2021
5560f6d
Revert "Fix ast expanded printing for anonymous types"
pnkfelix Sep 8, 2021
f38ec9c
Revert "Add test for restriction of anonymous types on validation"
pnkfelix Sep 8, 2021
b6aa7e3
Manually crafted revert of d4ad050ce5778a09566f6f9ec172565815d54604 .
pnkfelix Sep 8, 2021
91feb76
Revert "Implement Anonymous{Struct, Union} in the AST"
pnkfelix Sep 8, 2021
f26f1ed
Re-add 71a7f8f1884b2c83eeb4a545eef16df1f2ea6476 post-revert.
pnkfelix Sep 8, 2021
35370a7
regression test for issue #88583.
pnkfelix Sep 9, 2021
5dab3c5
feat(rustc_typeck): suggest removing bad parens in `(recv.method)()`
notriddle Sep 11, 2021
e5c2412
Add the corrections stuff to the 88803 test case
notriddle Sep 11, 2021
d98892b
Make sure the call span parens check only fires on the callee, not args
notriddle Sep 11, 2021
40f2a3b
Move object safety suggestions to the end of the error
estebank Sep 12, 2021
8be729c
chore: convert to a multi-part suggestion
notriddle Sep 13, 2021
7d8d7a0
Add negative test in macro-braces-dot-question.rs.
m-ou-se Sep 13, 2021
8d879aa
Simplify std::os module reexports to fix rustdoc linking issues
GuillaumeGomez Sep 3, 2021
1c4873c
Remove usage of cfg_if in std/src/os/mod.rs
GuillaumeGomez Sep 3, 2021
7965a9f
Move fortanix module position in std::os reexports for alpha sort
GuillaumeGomez Sep 7, 2021
9a3b1cf
Update permissions path for clippy lint
GuillaumeGomez Sep 13, 2021
1053a5b
`Wrapping<T>` has the same layout and ABI as `T`
joshlf Sep 13, 2021
ae2cda6
Tokenize emoji as if they were valid indentifiers
estebank Aug 29, 2021
f61ae01
Replace ZWJ with nothing in terminal output
estebank Sep 9, 2021
8b65c79
Fix RustDoc
estebank Sep 9, 2021
b43ac6e
Add `unic-emoji-char` and its dependencies to the allow list
estebank Sep 9, 2021
411d643
fix fmt
estebank Sep 9, 2021
4c71eec
Account for confusable codepoints when recovering emoji identifiers
estebank Sep 9, 2021
3750cc6
review comment: plural of emoji is emoji
estebank Sep 10, 2021
109ebdf
`replace_tabs` -> `normalize_whitespace`
estebank Sep 10, 2021
76713c9
udpate comment to be more accurate
estebank Sep 10, 2021
30f9807
Sort `FxHashSet`'s contents before emitting errors for consistent output
estebank Sep 14, 2021
f9b8191
Remove implementation of `min_align_of` intrinsic
tmiasko Sep 14, 2021
8580e54
Rollup merge of #87320 - danakj:debug-compilation-dir, r=michaelwoeri…
Manishearth Sep 14, 2021
8be84a9
Rollup merge of #88619 - GuillaumeGomez:simplify-std-os-reexports, r=…
Manishearth Sep 14, 2021
d8d2681
Rollup merge of #88690 - m-ou-se:macro-braces-dot-question-expr-parse…
Manishearth Sep 14, 2021
8417ac5
Rollup merge of #88775 - pnkfelix:revert-anon-union-parsing, r=davidtwco
Manishearth Sep 14, 2021
46373af
Rollup merge of #88781 - estebank:emoji-idents, r=oli-obk
Manishearth Sep 14, 2021
6e041ee
Rollup merge of #88841 - notriddle:notriddle/method-parens, r=estebank
Manishearth Sep 14, 2021
7195c8d
Rollup merge of #88892 - estebank:trait-objects, r=petrochenkov
Manishearth Sep 14, 2021
0c3a7d0
Rollup merge of #88915 - joshlf:patch-4, r=kennytm
Manishearth Sep 14, 2021
d675005
Rollup merge of #88933 - tmiasko:remove-min-align-of, r=oli-obk
Manishearth Sep 14, 2021
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
4 changes: 4 additions & 0 deletions library/core/src/num/wrapping.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ use crate::ops::{Shl, ShlAssign, Shr, ShrAssign, Sub, SubAssign};
///
/// assert_eq!(u32::MAX, (zero - one).0);
/// ```
///
/// # Layout
///
/// `Wrapping<T>` is guaranteed to have the same layout and ABI as `T`.
#[stable(feature = "rust1", since = "1.0.0")]
#[derive(PartialEq, Eq, PartialOrd, Ord, Clone, Copy, Default, Hash)]
#[repr(transparent)]
Expand Down