Create your own GitHub profile
Sign up for your own profile on GitHub, the best place to host code, manage projects, and build software alongside 40 million developers.
Sign up
Pinned
5,896 contributions in the last year
Activity overview
Contribution activity
February 2020
Created a pull request in rust-lang/rust that received 15 comments
Towards unified `fn` grammar
Part of #68728.
Syntactically, fn items in extern { ... } blocks can now have bodies (fn foo() { ... } as opposed to fn foo();). As above, we use…
+1,049
−665
•
15
comments
- Dogfood `half_open_range_patterns`
- typeck: clarify def_bm adjustments & add tests for or-patterns
- Rollup of 6 pull requests
- Rollup of 6 pull requests
- or_patterns: add regression test for #68785
- On suggesting `#![recursion_limit = "X"]`, note current crate name
- Test that `#[track_caller]` as `fn()` respects RT / CTFE equivalence
- Rollup of 5 pull requests
- parser: avoid re-wrapping NtItem
- Rollup of 4 pull requests
- parser: syntactically allow `self` in all `fn` contexts
- pretty: print attrs in struct expr
- parse: merge `fn` syntax + cleanup item parsing
- Merge item id stable hashing functions
- Make more arithmetic functions unstably const
- Stabilize `core::iter::once_with()`
- Invert control in struct_lint_level.
- parser: syntactically allow `self` in all `fn` contexts
- Do not suggest duplicate bounds
- Fix 59191 - ICE when macro replaces crate root with non-module item
- Implement `unused_parens` for `const` and `static` items
- Do not suggest things named underscore
- Suggest removing `&mut` when encountering mutability error
Created an issue in rust-lang/rust that received 11 comments
ICE due to `#[track_caller]` shim with -Z unleash-the-miri-inside-of-you
Reproducer: // compile-flags: -Z unleash-the-miri-inside-of-you #![feature(core_intrinsics, const_caller_location, track_caller, const_fn)] use std::…
11
comments