mozilla/rust — Issue #1889: Unreachable outer expressions should warn
Author: jruderman
Created: 2012-02-23 07:28:13+00:00
State: open

fn bye() -> ! { fail }

fn warns() { bye(); log(error, 3); }

fn does_not_warn() { log(error, bye()); }