rust/tests
Kamal Marhubi 66cac1f3e9 Handle pub(restricted) (#1013)
* Handle pub(restricted)

This commit properly handles pub(restricted) as introduced in RFC 1422
[0]. The syntax support was added in #971, but they were not correctly
formatted.

[0] https://github.com/rust-lang/rfcs/blob/master/text/1422-pub-restricted.md

Fixes #970

* Drop #[inline] attribute on format_visibility

* Make newly non-failing functions return String

The change to `format_visibiilty` means that `format_header` and
`format_unit_struct` can no longer fail. Their return type is updated to
reflect that.
2016-05-28 00:58:25 +02:00
..
config
coverage simplify tests 2016-04-05 02:45:39 +03:00
source Handle pub(restricted) (#1013) 2016-05-28 00:58:25 +02:00
target Handle pub(restricted) (#1013) 2016-05-28 00:58:25 +02:00
writemode simplify tests 2016-04-05 02:45:39 +03:00
system.rs Write each file as it is formatted (#991) 2016-05-15 11:41:05 +02:00