]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/seq-args.rs
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / seq-args.rs
index 44b049d6561d5f7cbdc2e4dd681b659a577187ba..9bb9f12f64c0a87691d1d0c3e77e4c594f3822c7 100644 (file)
@@ -1,20 +1,10 @@
-// Copyright 2012 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.
-
 fn main() {
-trait seq { }
+trait Seq { }
 
-impl<T> seq<T> for Vec<T> { //~ ERROR wrong number of type arguments
+impl<T> Seq<T> for Vec<T> { //~ ERROR wrong number of type arguments
     /* ... */
 }
-impl seq<bool> for u32 { //~ ERROR wrong number of type arguments
+impl Seq<bool> for u32 { //~ ERROR wrong number of type arguments
    /* Treat the integer as a sequence of bits */
 }