]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/print_type_sizes/uninhabited.rs
add '// ignore-pass' where applicable.
[rust.git] / src / test / ui / print_type_sizes / uninhabited.rs
index 9ae86136a909170585b9513f41fd35d144858bc0..c33965c4f53eaa2e6cf6e76ffba9047678e92d68 100644 (file)
@@ -1,15 +1,8 @@
-// Copyright 2016 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.
-
 // compile-flags: -Z print-type-sizes
 // compile-pass
+// ignore-pass
+// ^-- needed because `--pass check` does not emit the output needed.
+//     FIXME: consider using an attribute instead of side-effects.
 
 #![feature(never_type)]
 #![feature(start)]