bors[bot]
6574a6f448
Merge #5988
5988: Postfix completions for fmt-like string literals r=matklad a=popzxc
This pull request adds a bunch of new postfix completions for `format`-like string literls.
For example, `"{32} {some_var:?}".println` will expand to `println!("{} {:?}", 32, some_var)`.
Postfix completions were added for most common format-like macros:
- `println` -> `println!(...)`
- `fmt` -> `format!(...)`
- `panic` -> `panic!(...)`
- `log` macros:
+ `logi` -> `log::info!(...)`
+ `logw` -> `log::warn!(...)`
+ `loge` -> `log::error!(...)`
+ `logt` -> `log::trace!(...)`
+ `logd` -> `log::debug!(...)`

Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
2020-10-02 12:13:53 +00:00
..
2020-08-24 13:29:10 +02:00
2020-10-02 09:30:25 +00:00
2020-09-10 01:42:20 +03:00
2020-08-24 13:07:22 +02:00
2020-09-27 19:41:54 +02:00
2020-09-30 15:22:49 -04:00
2020-09-29 10:29:33 +00:00
2020-09-28 11:03:47 +00:00
2020-09-28 14:24:11 -04:00
2020-10-02 14:51:20 +03:00
2020-09-29 21:22:48 +02:00
2020-09-24 16:39:08 +02:00
2020-09-10 18:56:04 +02:00
2020-08-24 13:07:22 +02:00
2020-08-24 13:07:22 +02:00
2020-08-24 13:07:22 +02:00
2020-08-24 13:07:22 +02:00
2020-08-24 13:07:22 +02:00
2020-09-20 19:25:09 +00:00
2020-10-02 12:35:25 +03:00
2020-09-30 15:22:49 -04:00
2020-09-29 20:20:47 +02:00
2020-10-02 08:07:42 +00:00
2020-08-24 13:07:22 +02:00
2020-09-03 13:37:36 +02:00
2020-08-24 13:07:22 +02:00
2020-08-24 13:07:22 +02:00
2020-09-10 01:45:49 +03:00
2020-08-24 13:07:22 +02:00