about summary refs log tree commit diff
path: root/src/test/ui/async-await/async-block-control-flow-static-semantics.rs
diff options
context:
space:
mode:
authorMatthew Jasper <mjjasper1@gmail.com>2019-08-11 11:48:22 +0100
committerMatthew Jasper <mjjasper1@gmail.com>2019-08-17 08:59:36 +0100
commit497b50206229c28b89150960e2193964d02e8ef6 (patch)
tree2c57e70e69ec558c081a5a90593ee2d3d480f932 /src/test/ui/async-await/async-block-control-flow-static-semantics.rs
parent211d1e073527915f7ce1854ad8b30dc0c45845e8 (diff)
downloadrust-497b50206229c28b89150960e2193964d02e8ef6.tar.gz
rust-497b50206229c28b89150960e2193964d02e8ef6.zip
Stop emulating cross-crate hygiene with gensyms
Most `Ident`s are serialized as `InternedString`s the exceptions are:

* Reexports
* Attributes
* Idents in macro definitions

Using gensyms helped reexports emulate hygiene. However, the actual item
wouldn't have a gensymmed name so would be usable cross-crate. So
removing this case until we have proper cross-crate hygiene seems
sensible.

Codegen attributes (`inline`, `export_name`) are resolved by their
`Symbol`. This meant that opaque macro-expanded codegen attributes could
cause linker errors. This prevented making built-in derives hygienic.
Diffstat (limited to 'src/test/ui/async-await/async-block-control-flow-static-semantics.rs')
0 files changed, 0 insertions, 0 deletions