about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-02-05 09:14:39 -0500
committerGitHub <noreply@github.com>2017-02-05 09:14:39 -0500
commit4f8ce9efb9ff27af430d398ca472049e3595aaa6 (patch)
tree63e137a34f2935f1fc91eb796962a7a7fa5642a6 /src/test/run-pass/thinlto
parentca202fe181ec52998fe8843e87528bbd920605d5 (diff)
parent42f3ac5ea610b351e404dd30199d13ffc91617d5 (diff)
downloadrust-4f8ce9efb9ff27af430d398ca472049e3595aaa6.tar.gz
rust-4f8ce9efb9ff27af430d398ca472049e3595aaa6.zip
Rollup merge of #39009 - canndrew:default-unit-warnings, r=nikomatsakis
Add warning for () to ! switch

With feature(never_type) enabled diverging type variables will default to `!` instead of `()`. This can cause breakages where a trait is resolved on such a type.

This PR emits a future-compatibility warning when it sees this happen.
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions