aboutsummaryrefslogtreecommitdiff
path: root/crates/mbe/src/tests.rs
Commit message (Collapse)AuthorAgeFilesLines
* Make `ast_to_token_tree` infallibleJonas Schievink2021-04-041-6/+5
| | | | It could never return `None`, so reflect that in the return type
* Reorganize mbe testsEdwin Cheng2021-03-181-1959/+35
|
* avoid converting types into themselves via .into() (clippy::useless-conversion)Matthias Krüger2021-03-171-1/+1
| | | | example: let x: String = String::from("hello world").into();
* Fix macro expansion for statements w/o semicolonEdwin Cheng2021-03-161-6/+5
|
* Use upstream cov-markLaurențiu Nicola2021-03-081-3/+3
|
* Fix fail to parse :: for meta in mbeEdwin Cheng2021-03-051-1/+2
|
* NFA parser for mbe matcherEdwin Cheng2021-02-281-0/+23
|
* Fix non-latin characters doc comment for mbeEdwin Cheng2021-02-281-0/+23
|
* Simplify mbe match error.Edwin Cheng2021-01-291-9/+8
| | | | Handle parse error in rule parsing instead of match in mbe
* Support Macro v2 in mbeEdwin Cheng2021-01-251-77/+156
|
* Swap assert_eq_text\!(expected, actual)yugo-horie2021-01-161-5/+5
|
* Merge #7211bors[bot]2021-01-141-1/+22
|\ | | | | | | | | | | | | | | | | | | | | | | 7211: Fixed expr meta var after path colons in mbe r=matklad a=edwin0cheng Fixes #7207 Added `L_DOLLAR` in `ITEM_RECOVERY_SET` , but I don't know whether it is a good idea. r? @matklad Co-authored-by: Edwin Cheng <[email protected]>
| * Fixed expr meta var after path colons in mbeEdwin Cheng2021-01-101-1/+22
| |
* | Fixed typos in testsVincent Esche2021-01-091-1/+1
|/
* Add testEdwin Cheng2021-01-081-0/+13
|
* Merge #7060bors[bot]2020-12-281-0/+12
|\ | | | | | | | | | | | | | | | | | | 7060: Fix mbe fail to pass expr with attr r=edwin0cheng a=edwin0cheng bors r+ Fixes #5896 Co-authored-by: Edwin Cheng <[email protected]>
| * Fix mbe fail to pass expr with attrEdwin Cheng2020-12-281-0/+12
| |
* | Special case underscore in mbe meta opEdwin Cheng2020-12-281-0/+36
|/
* Ignore third punct in 2-composite punctEdwin Cheng2020-12-271-0/+16
|
* Use pattern_single instead of pattern in mbe patEdwin Cheng2020-12-201-0/+12
|
* mbe: treat _ as identLaurențiu Nicola2020-12-201-0/+12
|
* Move to upstream `macro_rules!` modelJonas Schievink2020-12-151-2/+2
|
* negative sign matching in mbe matching for literalEdwin Cheng2020-12-111-2/+11
|
* Rename ra_mbe -> mbeAleksey Kladov2020-08-131-0/+1898