Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't guess macro expansion crate | Aleksey Kladov | 2020-06-11 | 1 | -8/+9 |
| | |||||
* | Make relevant_crates return a Set | Aleksey Kladov | 2020-06-11 | 1 | -3/+2 |
| | |||||
* | Minimize FileLoader interface | Aleksey Kladov | 2020-06-05 | 1 | -12/+6 |
| | |||||
* | More direct signature for resolve_path | Aleksey Kladov | 2020-06-05 | 1 | -2/+2 |
| | |||||
* | Rename resolve_relative_path -> resolve_path | Aleksey Kladov | 2020-06-05 | 1 | -1/+1 |
| | | | | For things like `concant!(env!("OUT_DIR"))`, we need to support abs paths | ||||
* | fix typo unimplementated -> unimplemented | Trevor Spiteri | 2020-05-12 | 1 | -2/+2 |
| | | | | | Pretty harmless typo, but it does get exposed in lsp-rust-analyzer-expand-macro. | ||||
* | Support local_inner_macros | Edwin Cheng | 2020-05-01 | 1 | -0/+4 |
| | |||||
* | Merge #4125 | bors[bot] | 2020-04-25 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | 4125: Avoid lossy OsString conversions r=matklad a=lnicola This is a bit invasive, and perhaps for not much benefit since non-UTF-8 environment variables don't work anyway. Co-authored-by: Laurențiu Nicola <lnicola@dend.ro> | ||||
| * | Avoid lossy OsString conversions | Laurențiu Nicola | 2020-04-25 | 1 | -1/+1 |
| | | |||||
* | | Convert code to text-size | Aleksey Kladov | 2020-04-25 | 1 | -2/+2 |
|/ | |||||
* | Some clippy fixes | Jeremy Kolb | 2020-04-19 | 1 | -4/+4 |
| | |||||
* | Update comment | Edwin Cheng | 2020-03-11 | 1 | -4/+4 |
| | | | | Co-Authored-By: bjorn3 <bjorn3@users.noreply.github.com> | ||||
* | Implement dummy assert macro | Edwin Cheng | 2020-03-11 | 1 | -0/+56 |
| | |||||
* | Add extern source | Edwin Cheng | 2020-03-11 | 1 | -1/+2 |
| | |||||
* | Add and fix tests | Edwin Cheng | 2020-03-10 | 1 | -60/+121 |
| | |||||
* | Add parse_to_token_tree | Edwin Cheng | 2020-03-08 | 1 | -4/+4 |
| | |||||
* | Prevent include! macro include itself | Edwin Cheng | 2020-03-07 | 1 | -1/+6 |
| | |||||
* | Fix test and add more comment | Edwin Cheng | 2020-03-07 | 1 | -1/+4 |
| | |||||
* | Use a not so dummy implementation of env macro | Edwin Cheng | 2020-03-07 | 1 | -1/+1 |
| | |||||
* | Implment include macro | Edwin Cheng | 2020-03-06 | 1 | -6/+46 |
| | |||||
* | Fix whitespace in tests | Edwin Cheng | 2020-03-04 | 1 | -2/+2 |
| | |||||
* | Implement concat macro | Edwin Cheng | 2020-03-03 | 1 | -36/+90 |
| | |||||
* | Add LazyMacroId | Edwin Cheng | 2020-03-03 | 1 | -1/+5 |
| | |||||
* | More manual clippy fixes | Kirill Bulatov | 2020-02-18 | 1 | -7/+4 |
| | |||||
* | Run cargo +nightly fix --clippy -Z unstable-options | Kirill Bulatov | 2020-02-18 | 1 | -2/+2 |
| | |||||
* | Use dummy value for line! and column! macro | Edwin Cheng | 2020-01-14 | 1 | -83/+13 |
| | |||||
* | Use dummy value for macro file in bulitin macros | Edwin Cheng | 2020-01-11 | 1 | -2/+10 |
| | |||||
* | Add dummy implementations of env! and option_env! builtins | Florian Diebold | 2019-12-21 | 1 | -43/+95 |
| | | | | | | They don't do anything except return the correct type. Also refactor the builtin macro tests a bit. | ||||
* | Clippy lints | kjeremy | 2019-12-20 | 1 | -1/+1 |
| | |||||
* | Remove useless clone | kjeremy | 2019-12-20 | 1 | -1/+1 |
| | |||||
* | Rename N! to name! | Florian Diebold | 2019-12-13 | 1 | -1/+1 |
| | |||||
* | Add macros for known names and paths | Florian Diebold | 2019-12-13 | 1 | -8/+8 |
| | |||||
* | Move traits to the new loc | Aleksey Kladov | 2019-12-12 | 1 | -1/+4 |
| | |||||
* | Fix expansion of format_args | Florian Diebold | 2019-12-08 | 1 | -6/+13 |
| | |||||
* | Remove MacroFileKind | Edwin Cheng | 2019-12-08 | 1 | -5/+4 |
| | |||||
* | Implement format_args more properly | Florian Diebold | 2019-12-06 | 1 | -4/+43 |
| | |||||
* | Add stub implementation of format_args{_nl} macros | Florian Diebold | 2019-12-06 | 1 | -1/+18 |
| | | | | Just enough to fix the huge amount of type mismatches they cause. | ||||
* | Add expansion infrastructure for derive macros | Florian Diebold | 2019-12-05 | 1 | -19/+18 |
| | |||||
* | Merge #2362 | bors[bot] | 2019-11-25 | 1 | -0/+38 |
|\ | | | | | | | | | | | | | | | 2362: Expand compile_error! r=edwin0cheng a=kjeremy Does not validate that the input is a string literal. I thought that I could `match_ast!` against the `macro_args` but that did not work. Even if it had I am not sure which error would be appropriate. Co-authored-by: Jeremy Kolb <kjeremy@gmail.com> | ||||
| * | Expand compile_error! | Jeremy Kolb | 2019-11-25 | 1 | -0/+38 |
| | | |||||
* | | Fix panic during the expansion of `column!` | Marco Groppo | 2019-11-24 | 1 | -5/+16 |
|/ | |||||
* | Use macro for all the things | Edwin Cheng | 2019-11-23 | 1 | -48/+31 |
| | |||||
* | Rename BuiltinExpander to BuiltinFnLikeExpander | Edwin Cheng | 2019-11-23 | 1 | -9/+9 |
| | |||||
* | Refactor builtin macro | Edwin Cheng | 2019-11-22 | 1 | -18/+124 |
| | |||||
* | Expand column!() | Jeremy Kolb | 2019-11-22 | 1 | -1/+43 |
| | |||||
* | Expand file! to dummy "" | kjeremy | 2019-11-22 | 1 | -1/+25 |
| | |||||
* | Add support for Stringify builtin macro | Piotr Szpetkowski | 2019-11-22 | 1 | -0/+27 |
| | |||||
* | Add MacroDefKind | Edwin Cheng | 2019-11-11 | 1 | -6/+2 |
| | |||||
* | Add line macro and tests | Edwin Cheng | 2019-11-11 | 1 | -6/+64 |
| | |||||
* | Add basic bultin macro infrastructure | Edwin Cheng | 2019-11-11 | 1 | -0/+26 |