Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Better naming and docs | Kirill Bulatov | 2020-08-11 | 6 | -28/+30 | |
| | | | ||||||
| * | | Simplify fix structure | Kirill Bulatov | 2020-08-11 | 4 | -96/+92 | |
| | | | ||||||
| * | | Add rustdocs | Kirill Bulatov | 2020-08-11 | 2 | -1/+4 | |
| | | | ||||||
| * | | Improve the ide diagnostics trait API | Kirill Bulatov | 2020-08-11 | 4 | -197/+166 | |
| | | | ||||||
| * | | Move the DiagnosticsWithFix trait on the ide level | Kirill Bulatov | 2020-08-11 | 7 | -63/+75 | |
| | | | ||||||
| * | | Make the fix AST source Optional | Kirill Bulatov | 2020-08-11 | 6 | -74/+78 | |
| | | | ||||||
| * | | Refactor the diagnostics | Kirill Bulatov | 2020-08-11 | 6 | -136/+106 | |
| | | | ||||||
| * | | Require source implementations for Diagnostic | Kirill Bulatov | 2020-08-11 | 3 | -12/+15 | |
| | | | ||||||
| * | | Restore accidentally removed public method | Kirill Bulatov | 2020-08-11 | 2 | -10/+11 | |
| | | | ||||||
| * | | Fix another missing fields diagnostics | Kirill Bulatov | 2020-08-11 | 3 | -44/+19 | |
| | | | ||||||
| * | | Better naming | Kirill Bulatov | 2020-08-11 | 5 | -48/+57 | |
| | | | ||||||
| * | | Less stubs | Kirill Bulatov | 2020-08-11 | 4 | -31/+28 | |
| | | | ||||||
| * | | Custom ranges for missing fields | Kirill Bulatov | 2020-08-11 | 4 | -8/+56 | |
| | | | ||||||
| * | | Separate diagnostics and diagnostics fix ranges | Kirill Bulatov | 2020-08-11 | 3 | -47/+59 | |
| | | | ||||||
* | | | Merge #4743 | bors[bot] | 2020-08-12 | 7 | -32/+284 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4743: Add tracking of packed repr, use it to highlight unsafe refs r=matklad a=Nashenas88 Taking a reference to a misaligned field on a packed struct is an unsafe operation. Highlight that behavior. Currently, the misaligned part isn't tracked, so this highlight is a bit too aggressive. Fixes #4600 Co-authored-by: Paul Daniel Faria <[email protected]> Co-authored-by: Paul Daniel Faria <[email protected]> Co-authored-by: Paul Daniel Faria <[email protected]> | |||||
| * | | | Remove unused import left behind after rebasing | Paul Daniel Faria | 2020-08-10 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Fix type names broken by rebase, redo expected test because of rebase | Paul Daniel Faria | 2020-08-10 | 3 | -14/+44 | |
| | | | | ||||||
| * | | | Move unsafe semantics methods into `SemanticsImpl` and reference them in ↵ | Paul Daniel Faria | 2020-08-10 | 1 | -71/+83 | |
| | | | | | | | | | | | | | | | | `Semantics` | |||||
| * | | | Return bool from is_unsafe_method_call and cleanup usages | Paul Daniel Faria | 2020-08-10 | 2 | -24/+25 | |
| | | | | ||||||
| * | | | Move semantic logic into Semantics, fix missing tag for safe amp operator, ↵ | Paul Daniel Faria | 2020-08-10 | 6 | -105/+112 | |
| | | | | | | | | | | | | | | | | using functional methods rather than clunky inline closure | |||||
| * | | | Remove merge backup | Paul Daniel Faria | 2020-08-10 | 1 | -769/+0 | |
| | | | | ||||||
| * | | | Fix rebase errors | Paul Daniel Faria | 2020-08-10 | 4 | -9/+10 | |
| | | | | ||||||
| * | | | Move unsafe packed ref logic to Semantics, use `Attrs::by_key` to simplify ↵ | Paul Daniel Faria | 2020-08-10 | 4 | -54/+815 | |
| | | | | | | | | | | | | | | | | repr attr lookup | |||||
| * | | | Revert function structs back to using bool to track self param, use first ↵ | Paul Daniel Faria | 2020-08-10 | 10 | -27/+22 | |
| | | | | | | | | | | | | | | | | param for self information in syntax highlighting instead | |||||
| * | | | Deduplicate unsafe method call into a single function | Paul Daniel Faria | 2020-08-10 | 1 | -41/+31 | |
| | | | | ||||||
| * | | | Unsafe borrow of packed fields: account for borrow through ref binding, auto ↵ | Paul Daniel Faria | 2020-08-10 | 10 | -48/+156 | |
| | | | | | | | | | | | | | | | | ref function calls | |||||
| * | | | Cleanup repr check, fix packed repr check and test | Paul Daniel Faria | 2020-08-10 | 3 | -14/+15 | |
| | | | | ||||||
| * | | | Update FIXME comment to be more useful | Paul Daniel Faria | 2020-08-10 | 1 | -1/+2 | |
| | | | | ||||||
| * | | | Limit scope of unsafe to & instead of all ref exprs, add test showing ↵ | Paul Daniel Faria | 2020-08-10 | 2 | -1/+20 | |
| | | | | | | | | | | | | | | | | missing support for autoref behavior | |||||
| * | | | Remove token tree from ReprKind::Other variant, expose ReprKind higher, ↵ | Paul Daniel Faria | 2020-08-10 | 2 | -10/+4 | |
| | | | | | | | | | | | | | | | | remove debug println. | |||||
| * | | | Add tracking of packed repr, use it to highlight unsafe refs | Paul Daniel Faria | 2020-08-10 | 4 | -4/+105 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Taking a reference to a misaligned field on a packed struct is an unsafe operation. Highlight that behavior. Currently, the misaligned part isn't tracked, so this highlight is a bit too aggressive. | |||||
* | | | | Merge #5722 | bors[bot] | 2020-08-12 | 7 | -94/+30 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5722: Replace SepBy with Itertools r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | | | Replace SepBy with Itertools | Aleksey Kladov | 2020-08-12 | 7 | -94/+30 | |
| | | | | | ||||||
* | | | | | Merge #5721 | bors[bot] | 2020-08-12 | 61 | -669/+618 | |
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5721: Cleanup parser modifiers tests r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | | | Cleanup parser modifiers tests | Aleksey Kladov | 2020-08-12 | 41 | -362/+292 | |
| | | | | | ||||||
| * | | | | Allow default everywhere | Aleksey Kladov | 2020-08-12 | 21 | -307/+326 | |
| | | | | | | | | | | | | | | | | | | | | closes #5681 | |||||
* | | | | | Merge #5720 | bors[bot] | 2020-08-12 | 1 | -1/+1 | |
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5720: Fix docs r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | | | Fix docs | Aleksey Kladov | 2020-08-12 | 1 | -1/+1 | |
| | | | | | ||||||
* | | | | | Merge #5699 | bors[bot] | 2020-08-12 | 6 | -10/+15 | |
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5699: Fix clippy warnings r=matklad a=popzxc Currently clippy spawns a bunch of warnings on the `rust-analyzer` project. Nothing critical, but easy to fix, so I guess it won't harm. Co-authored-by: Igor Aleksanov <[email protected]> | |||||
| * | | | | Revert style preference-related fixes | Igor Aleksanov | 2020-08-12 | 4 | -12/+10 | |
| | | | | | ||||||
| * | | | | Revert boxing for large enum variant | Igor Aleksanov | 2020-08-10 | 1 | -3/+4 | |
| | | | | | ||||||
| * | | | | Fix clippy warnings | Igor Aleksanov | 2020-08-10 | 10 | -23/+29 | |
| |/ / / | ||||||
* | | | | Merge #5718 | bors[bot] | 2020-08-12 | 1 | -1/+0 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5718: Deny clippy r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | | | Deny clippy | Aleksey Kladov | 2020-08-12 | 1 | -1/+0 | |
| | | | | | ||||||
* | | | | | Merge #5717 | bors[bot] | 2020-08-12 | 1 | -4/+3 | |
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5717: Minor r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | | | Minor | Aleksey Kladov | 2020-08-12 | 1 | -4/+3 | |
| | | | | | ||||||
* | | | | | Merge pull request #5716 from jonas-schievink/musl | Jonas Schievink | 2020-08-12 | 1 | -1/+1 | |
|\ \ \ \ \ | | | | | | | | | | | | | Fix build on musl and test it in CI | |||||
| * | | | | | Fix build on musl and test it in CI | Jonas Schievink | 2020-08-12 | 1 | -1/+1 | |
| |/ / / / | ||||||
* | | | | | Merge #5711 | bors[bot] | 2020-08-12 | 1 | -4/+4 | |
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5711: Display snippet in the completion label r=matklad a=SomeoneToIgnore Before, the completion did not show the actual snippet and it was hard to understand what to input to get the right snippet: <img width="467" alt="image" src="https://user-images.githubusercontent.com/2690773/89941040-21f6a600-dc23-11ea-94b8-61f77f88feaf.png"> <img width="367" alt="image" src="https://user-images.githubusercontent.com/2690773/89941046-23c06980-dc23-11ea-8034-6c4e14357c94.png"> Now it's more clear: <img width="315" alt="image" src="https://user-images.githubusercontent.com/2690773/89941124-42befb80-dc23-11ea-9fcc-5fd49cc92b74.png"> <img width="210" alt="image" src="https://user-images.githubusercontent.com/2690773/89941132-4488bf00-dc23-11ea-99c2-12ec66e0a044.png"> Co-authored-by: Kirill Bulatov <[email protected]> | |||||
| * | | | | Display snippet in the completion label | Kirill Bulatov | 2020-08-11 | 1 | -4/+4 | |
| | |/ / | |/| | |