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

Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
41 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
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
82f8f63
Rollup merge of #87320 - danakj:debug-compilation-dir, r=michaelwoeri…
Manishearth Sep 14, 2021
44cafcd
Rollup merge of #88619 - GuillaumeGomez:simplify-std-os-reexports, r=…
Manishearth Sep 14, 2021
281c0bb
Rollup merge of #88690 - m-ou-se:macro-braces-dot-question-expr-parse…
Manishearth Sep 14, 2021
a8a4504
Rollup merge of #88775 - pnkfelix:revert-anon-union-parsing, r=davidtwco
Manishearth Sep 14, 2021
b4dcb2c
Rollup merge of #88781 - estebank:emoji-idents, r=oli-obk
Manishearth Sep 14, 2021
a2a859b
Rollup merge of #88841 - notriddle:notriddle/method-parens, r=estebank
Manishearth Sep 14, 2021
7bd36c0
Rollup merge of #88915 - joshlf:patch-4, r=kennytm
Manishearth Sep 14, 2021
2472bbd
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
Prev Previous commit
Next Next commit
Add negative test in macro-braces-dot-question.rs.
  • Loading branch information
m-ou-se committed Sep 13, 2021
commit 7d8d7a03412f6db1402f2713ee96a2040cfb24d2
2 changes: 2 additions & 0 deletions src/test/ui/parser/macro-braces-dot-question.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ use std::io::Write;
fn main() -> Result<(), std::io::Error> {
vec! { 1, 2, 3 }.len();
write! { vec![], "" }?;
println!{""}
[0]; // separate statement, not indexing into the result of println.
Ok(())
}