Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reduce duplication between uncertain floats & ints | Aleksey Kladov | 2019-11-13 | 5 | -64/+51 |
| | |||||
* | Move expression lowering to hir_def | Aleksey Kladov | 2019-11-12 | 1 | -2/+1 |
| | |||||
* | Remove owner from Body | Aleksey Kladov | 2019-11-12 | 2 | -10/+9 |
| | |||||
* | Move definition of exprs to hir_def | Aleksey Kladov | 2019-11-12 | 3 | -33/+35 |
| | |||||
* | Minor refactoring | Aleksey Kladov | 2019-11-12 | 1 | -3/+3 |
| | |||||
* | Minor cleanup | Aleksey Kladov | 2019-11-12 | 1 | -1/+1 |
| | |||||
* | Don't reexport generics from HIR | Aleksey Kladov | 2019-11-11 | 3 | -4/+5 |
| | |||||
* | Merge #2205 | bors[bot] | 2019-11-11 | 1 | -0/+19 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | 2205: Implement bulitin line! macro r=matklad a=edwin0cheng This PR implements bulitin macro `line!` and add basic infra-structure for other bulitin macros: 1. Extend `MacroDefId` to support builtin macros 2. Add a `quote!` macro for simple quasi quoting. Note that for support others builtin macros, eager macro expansion have to be supported first, this PR not try to handle it. :) Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Add line macro and tests | Edwin Cheng | 2019-11-11 | 1 | -0/+19 |
| | | |||||
* | | Unfork struct and union ids | Aleksey Kladov | 2019-11-09 | 1 | -2/+2 |
|/ | |||||
* | Move Namespace enum closer to usage | Aleksey Kladov | 2019-11-04 | 4 | -9/+23 |
| | |||||
* | Rename MockDatabase -> TestDB | Aleksey Kladov | 2019-11-04 | 1 | -16/+16 |
| | | | | Actually working rename is sooo useful! | ||||
* | Remove more duplication in test fixtures | Aleksey Kladov | 2019-11-04 | 1 | -1/+1 |
| | |||||
* | Use new text DSL instead of crate_graph! macro | Aleksey Kladov | 2019-11-04 | 1 | -59/+25 |
| | |||||
* | Remove last traces of nameres from hir | Aleksey Kladov | 2019-11-03 | 2 | -5/+3 |
| | |||||
* | Move CrateDefMap to hir_def | Aleksey Kladov | 2019-11-03 | 1 | -1/+1 |
| | |||||
* | Move diagnostics to hir_expand | Aleksey Kladov | 2019-11-02 | 1 | -8/+4 |
| | |||||
* | Various review fixes | Florian Diebold | 2019-11-01 | 2 | -17/+12 |
| | |||||
* | Add some doc comments | Florian Diebold | 2019-11-01 | 1 | -0/+6 |
| | |||||
* | Complete trait assoc items | Florian Diebold | 2019-11-01 | 1 | -1/+1 |
| | |||||
* | Refactor a bit | Florian Diebold | 2019-11-01 | 1 | -36/+25 |
| | |||||
* | Don't do autoderef for path resolution | Florian Diebold | 2019-11-01 | 1 | -18/+39 |
| | |||||
* | Refactor to unify with method resolution | Florian Diebold | 2019-11-01 | 3 | -133/+96 |
| | |||||
* | Record assoc item resolution | Florian Diebold | 2019-11-01 | 1 | -1/+3 |
| | |||||
* | Insert type vars before doing assoc item resolution | Florian Diebold | 2019-11-01 | 2 | -12/+15 |
| | |||||
* | Add another unrelated, currently not working test | Florian Diebold | 2019-11-01 | 1 | -0/+16 |
| | |||||
* | Get trait assoc item resolution mostly working | Florian Diebold | 2019-11-01 | 2 | -11/+248 |
| | |||||
* | move struct & enum data to hir_def | Aleksey Kladov | 2019-10-31 | 1 | -4/+4 |
| | |||||
* | move builtin types to hir_def | Aleksey Kladov | 2019-10-31 | 2 | -26/+12 |
| | |||||
* | push name down to hir_expand | Aleksey Kladov | 2019-10-30 | 4 | -7/+6 |
| | |||||
* | remove forward pointer for type_ref | Aleksey Kladov | 2019-10-30 | 4 | -8/+11 |
| | |||||
* | remove forward pointer to Path | Aleksey Kladov | 2019-10-30 | 4 | -7/+11 |
| | |||||
* | remove forward pointer for name | Aleksey Kladov | 2019-10-30 | 4 | -4/+7 |
| | |||||
* | Move ids to hir_def crate | Aleksey Kladov | 2019-10-30 | 1 | -29/+5 |
| | |||||
* | introduce ra_hir_def | Aleksey Kladov | 2019-10-30 | 2 | -8/+8 |
| | |||||
* | Upgrade Chalk, make use of TypeName::Error variant | Florian Diebold | 2019-10-29 | 1 | -8/+7 |
| | |||||
* | Upgrade Chalk (without using its dyn/impl Trait support) | Florian Diebold | 2019-10-26 | 2 | -43/+73 |
| | |||||
* | Bump deps | Laurențiu Nicola | 2019-10-17 | 2 | -4/+10 |
| | |||||
* | make_mut_slice | Shotaro Yamada | 2019-10-14 | 2 | -15/+9 |
| | |||||
* | import make_mut_arc_slice | Shotaro Yamada | 2019-10-14 | 1 | -1/+2 |
| | |||||
* | `.collect()` directly into `Arc<[T]>` | Shotaro Yamada | 2019-10-14 | 3 | -21/+16 |
| | |||||
* | Avoid cloning `Arc<[T]>` into a vec if possible | Shotaro Yamada | 2019-10-14 | 2 | -12/+18 |
| | |||||
* | Split up infer.rs further | Florian Diebold | 2019-10-12 | 4 | -1135/+1192 |
| | | | | | | - coercion logic goes to `coerce.rs` - expression inference goes to `expr.rs` - pattern inference goes to `pat.rs` | ||||
* | Chalk update to simplified IR | kjeremy | 2019-10-10 | 1 | -24/+34 |
| | |||||
* | Merge #1969 | bors[bot] | 2019-10-08 | 1 | -2/+1 |
|\ | | | | | | | | | | | | | | | 1969: restore coloring of attributes r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | macro DSL for cfg in tests | Aleksey Kladov | 2019-10-08 | 1 | -6/+1 |
| | | |||||
| * | use slightly more idiomatic api for cfg | Aleksey Kladov | 2019-10-08 | 1 | -1/+5 |
| | | |||||
* | | Address comments: fix docs, add completion test for `Self`. | ice1000 | 2019-10-08 | 1 | -3/+1 |
| | | |||||
* | | Support inferring `Self` type in enum definitions | ice1000 | 2019-10-08 | 3 | -0/+23 |
|/ | | | | Signed-off-by: ice1000 <[email protected]> | ||||
* | Merge #1928 | bors[bot] | 2019-10-05 | 1 | -0/+45 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1928: Support `#[cfg(..)]` r=matklad a=oxalica This PR implement `#[cfg(..)]` conditional compilation. It read default cfg options from `rustc --print cfg` with also hard-coded `test` and `debug_assertion` enabled. Front-end settings are **not** included in this PR. There is also a known issue that inner control attributes are totally ignored. I think it is **not** a part of `cfg` and create a separated issue for it. #1949 Fixes #1920 Related: #1073 Co-authored-by: uHOOCCOOHu <[email protected]> Co-authored-by: oxalica <[email protected]> |