Skip to content

Commit 3812721

Browse files
committed
Move run-pass tests to ui
1 parent a0c5c27 commit 3812721

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

src/test/run-pass/const_generics/const_arg_in_fn.rs renamed to src/test/ui/const_generics/const_arg_in_fn.rs

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// run-pass
12+
1113
#![feature(const_generics)]
1214
#![allow(dead_code)]
1315

src/test/run-pass/const_generics/const_impl.rs renamed to src/test/ui/const_generics/const_impl.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2017 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2018 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// run-pass
12+
1113
#![feature(const_generics)]
1214

1315
#[allow(dead_code)]

src/test/run-pass/const_generics/const_types.rs renamed to src/test/ui/const_generics/const_types.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2017 The Rust Project Developers. See the COPYRIGHT
1+
// Copyright 2018 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
33
// http://rust-lang.org/COPYRIGHT.
44
//
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// run-pass
12+
1113
#![feature(const_generics)]
1214

1315
#[allow(dead_code)]

0 commit comments

Comments
 (0)