about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-10-02 12:59:44 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-10-02 13:12:35 -0700
commit9f7cc5faa0e9c9b865a95aa1fb0725528b95595e (patch)
treea20855d0ca6d8c8a1ce97f7bd5691b36b24f2448 /src/test/run-pass/thinlto
parent791fb778ccfb3dc831d99544093a9d4e3cf82a49 (diff)
downloadrust-9f7cc5faa0e9c9b865a95aa1fb0725528b95595e.tar.gz
rust-9f7cc5faa0e9c9b865a95aa1fb0725528b95595e.zip
Use a distinct error code for "if may be missing an else clause"
Introduce the possibility of assigning distinct error codes to the various origin types of E0308. Start by assigning E0317 for the "IfExpressionWithNoElse" case, and write a long diagnostic specific to this case.

Fixes #36596
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions