rfc, cfg-path-version: consider attributes & macros.

This commit is contained in:
Mazdak Farrokhzad 2018-11-29 20:50:19 +01:00
parent e0de3bbcdf
commit 96ec9e7f0a
1 changed files with 4 additions and 0 deletions

View File

@ -291,6 +291,10 @@ fn do_stuff() {
}
```
Finally, bang macros, derive macros, attributes of all sorts including
built-in, user provided, as well as latent derive helper attributes,
will be considered when determining if a path is accessible.
## `cfg_attr` and `cfg!`
Note that the above sections also apply to the attribute `#[cfg_attr(..)]` as