]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-fail/binop-fail-3.rs
Use better bound names in `-Zverbose` mode
[rust.git] / src / test / run-fail / binop-fail-3.rs
index 5be9cd4a9bc345be939b9d3880b69721c092e08b..a7696fffda0c2976818a04964dabae1e2f844761 100644 (file)
@@ -1,17 +1,9 @@
-// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution and at
-// http://rust-lang.org/COPYRIGHT.
-//
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
-
 // error-pattern:quux
 fn foo() -> ! {
     panic!("quux");
 }
+
+#[allow(resolve_trait_on_defaulted_unit)]
 fn main() {
     foo() == foo(); // these types wind up being defaulted to ()
 }