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!(...)`

![fmt_postfix](https://user-images.githubusercontent.com/12111581/92998650-a048af80-f523-11ea-8fd8-410146de8caa.gif)



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-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-09-29 21:22:48 +02:00
2020-09-24 16:39:08 +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-10-02 08:07:42 +00:00
2020-09-03 13:37:36 +02:00