about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2019-04-25 07:53:06 +0100
committerDavid Wood <david@davidtw.co>2019-04-25 07:53:06 +0100
commit8a47e088458866b6dd8aa28acc9db1e9e22be997 (patch)
treec6760e385568980e8c499af114e7f584e6b91e99 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
parente305df1846a6d985315917ae0c81b74af8b4e641 (diff)
downloadrust-8a47e088458866b6dd8aa28acc9db1e9e22be997.tar.gz
rust-8a47e088458866b6dd8aa28acc9db1e9e22be997.zip
Add test for current behaviour.
This commit adds a test that causes a suggestion to replace `extern
crate` with `use` when doing so would cause a compliation error, as the
new name of the import would not be added to the prelude if a `use` was
used.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions