Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Simlify with matches!() | Veetaha | 2020-06-28 | 2 | -8/+3 | |
| | | | ||||||
* | | | Don't show ra_fixture param hints | Aleksey Kladov | 2020-06-28 | 1 | -1/+2 | |
|/ / | ||||||
* | | Remove unneeded code, filename from tests, fix rebasing issues | Paul Daniel Faria | 2020-06-27 | 8 | -13/+72 | |
| | | ||||||
* | | Revert ide highlighting changes (addressing on another branch) | Paul Daniel Faria | 2020-06-27 | 9 | -100/+10 | |
| | | ||||||
* | | Add HighlightTag::Operator, use it for unsafe deref. Move unsafe validation ↵ | Paul Daniel Faria | 2020-06-27 | 6 | -7/+7 | |
| | | | | | | | | to its own file | |||||
* | | Account for deref token in syntax highlighting of unsafe, add test for that case | Paul Daniel Faria | 2020-06-27 | 1 | -0/+1 | |
| | | ||||||
* | | Fix typo in test | Paul Daniel Faria | 2020-06-27 | 1 | -1/+1 | |
| | | ||||||
* | | Move diagnostics back into expr, add tests for diagnostics, fix logic to ↵ | Paul Daniel Faria | 2020-06-27 | 1 | -0/+2 | |
| | | | | | | | | account for derefs of raw ptrs | |||||
* | | Add unsafe diagnostics and unsafe highlighting | Paul Daniel Faria | 2020-06-27 | 1 | -0/+28 | |
|/ | ||||||
* | Add `::` to label for `crate::` completion | Aleksey Kladov | 2020-06-27 | 1 | -7/+7 | |
| | ||||||
* | cleanup | Aleksey Kladov | 2020-06-27 | 1 | -13/+10 | |
| | ||||||
* | Fix matchig brace for pipes | Aleksey Kladov | 2020-06-25 | 1 | -1/+5 | |
| | ||||||
* | matching brace works for | in lambdas | Aleksey Kladov | 2020-06-25 | 1 | -5/+22 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2020-06-24 | 2 | -67/+18 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2020-06-24 | 4 | -47/+38 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2020-06-24 | 1 | -6/+3 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2020-06-24 | 2 | -14/+3 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2020-06-24 | 1 | -10/+6 | |
| | ||||||
* | Remove duplication | Aleksey Kladov | 2020-06-24 | 8 | -41/+34 | |
| | ||||||
* | More consistent usage of fixtures | Aleksey Kladov | 2020-06-24 | 16 | -1061/+1070 | |
| | ||||||
* | Use fixtures more | Aleksey Kladov | 2020-06-24 | 6 | -133/+135 | |
| | ||||||
* | Merge #4940 | bors[bot] | 2020-06-24 | 10 | -37/+86 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | 4940: Add support for marking doctest items as distinct from normal code r=ltentrup a=Nashenas88 This adds `HighlightTag::Generic | HighlightModifier::Injected` as the default highlight for all elements within a doctest. Please feel free to suggest that a new tag be created or a different one used. ![Screenshot from 2020-06-23 09-18-13](https://user-images.githubusercontent.com/1673130/85408493-9752ce00-b532-11ea-94fe-197353ccc778.png) Fixes #4929 Fixes #4939 Co-authored-by: Paul Daniel Faria <[email protected]> Co-authored-by: Paul Daniel Faria <[email protected]> | |||||
| * | Improve readability be replacing hard-to-read if-else branches with a match | Paul Daniel Faria | 2020-06-24 | 1 | -16/+20 | |
| | | ||||||
| * | Remove unrelated change | Paul Daniel Faria | 2020-06-23 | 1 | -4/+2 | |
| | | ||||||
| * | Update comment for pop_and_inject | Paul Daniel Faria | 2020-06-23 | 1 | -2/+2 | |
| | | | | | | Co-authored-by: Leander Tentrup <[email protected]> | |||||
| * | Update injection mechanism and stop injecting through highlight element, ↵ | Paul Daniel Faria | 2020-06-23 | 12 | -216/+237 | |
| | | | | | | | | switch to more general new highlight tag, generic | |||||
| * | Add punctuation highlighting for highlighting punctuation in doctests, fix ↵ | Paul Daniel Faria | 2020-06-23 | 12 | -223/+224 | |
| | | | | | | | | highlighting in doctests | |||||
| * | Add default color and opacity for documentation and injected, respectively, ↵ | Paul Daniel Faria | 2020-06-23 | 7 | -0/+14 | |
| | | | | | | | | in the html generator | |||||
| * | Add support for marking doctest items as distinct from normal code, add ↵ | Paul Daniel Faria | 2020-06-23 | 7 | -34/+45 | |
| | | | | | | | | default tag to all doctest elements | |||||
* | | More principled indentation trimming in fixtures | Aleksey Kladov | 2020-06-23 | 9 | -325/+310 | |
| | | ||||||
* | | Slightly better name | Aleksey Kladov | 2020-06-23 | 1 | -2/+2 | |
| | | ||||||
* | | Cut problematic dependency | Aleksey Kladov | 2020-06-23 | 1 | -1/+6 | |
| | | ||||||
* | | Nicer API | Aleksey Kladov | 2020-06-23 | 1 | -8/+8 | |
| | | ||||||
* | | Simplify | Aleksey Kladov | 2020-06-23 | 1 | -8/+6 | |
| | | ||||||
* | | Simplify | Aleksey Kladov | 2020-06-23 | 1 | -8/+8 | |
|/ | ||||||
* | New VFS | Aleksey Kladov | 2020-06-23 | 5 | -22/+20 | |
| | ||||||
* | Merge #5002 | bors[bot] | 2020-06-23 | 3 | -5/+15 | |
|\ | | | | | | | | | | | | | | | 5002: Fix underflow panic when doctests are at top of file r=Nashenas88 a=Nashenas88 While debugging a comment at the top of a test string, I discovered that the offset calculations could underflow and panic. This only seemed to occur in tests, I assume because it's running a debug mode. The wrapping is quickly fixed later on in release mode, which is why this seems to have gone unnoticed. The new checks ensure the value is always positive or zero. Co-authored-by: Paul Daniel Faria <[email protected]> | |||||
| * | Fix underflow panic when doctests are at top of file | Paul Daniel Faria | 2020-06-23 | 3 | -5/+15 | |
| | | ||||||
* | | Merge #4999 | bors[bot] | 2020-06-23 | 1 | -0/+1 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 4999: SSR: Allow matching of whole macro calls r=matklad a=davidlattimore Matching within macro calls is to come later and matching of macro calls within macro calls later still. Co-authored-by: David Lattimore <[email protected]> | |||||
| * | | SSR: Allow matching of whole macro calls | David Lattimore | 2020-06-22 | 1 | -0/+1 | |
| |/ | | | | | | | Matching within macro calls is to come later and matching of macro calls within macro calls later still. | |||||
* | | Merge #5000 | bors[bot] | 2020-06-22 | 1 | -5/+5 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5000: Remove RelativePathBuf from fixture r=matklad a=matklad The paths in fixture are not really relative (the default one is `/main.rs`), so it doesn't make sense to use `RelativePathBuf` here. bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | Remove RelativePathBuf from fixture | Aleksey Kladov | 2020-06-22 | 1 | -5/+5 | |
| |/ | | | | | | | | | The paths in fixture are not really relative (the default one is `/main.rs`), so it doesn't make sense to use `RelativePathBuf` here. | |||||
* | | Merge #4988 | bors[bot] | 2020-06-22 | 1 | -0/+3 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 4988: Don't offer to add missing fields of unknown types r=flodiebold a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]> | |||||
| * | | Don't offer to add missing fields of unknown types | Laurențiu Nicola | 2020-06-22 | 1 | -0/+3 | |
| |/ | ||||||
* | | Merge #4900 | bors[bot] | 2020-06-22 | 1 | -0/+80 | |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | 4900: Self variant enum res fix r=BGluth a=BGluth Fixes #4789. This is my first PR for this project, so it's probably worth giving it an extra close look. A few things that I wasn't sure about: - Is `resolve_path` really the best place to perform this check? It seemed like a natural place, but perhaps there's a better place? - When handling the new variant `PathResolution::VariantDef`, I couldn't see an obvious variant of `TypeNs` to return in `in_type_ns` for Unions and Structs. Co-authored-by: BGluth <[email protected]> | |||||
| * | Created goto Self enum variant test | BGluth | 2020-06-21 | 1 | -0/+80 | |
| | | ||||||
* | | Merge #4899 | bors[bot] | 2020-06-22 | 1 | -72/+206 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 4899: don't complete top level attrs inside nested attrs and add better labels r=matklad a=bnjjj close #4890 Co-authored-by: Benjamin Coenen <[email protected]> | |||||
| * | | don't complete top level attrs inside nested attrs and add better labels #4899 | Benjamin Coenen | 2020-06-22 | 1 | -8/+1 | |
| | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
| * | | don't complete top level attrs inside nested attrs and add better labels #4899 | Benjamin Coenen | 2020-06-21 | 1 | -16/+105 | |
| | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> | |||||
| * | | don't complete top level attrs inside nested attrs and add better labels #4890 | Benjamin Coenen | 2020-06-18 | 1 | -16/+8 | |
| | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]> |