diff options
Diffstat (limited to 'src/test/ui/consts/return-in-const-fn.rs')
-rw-r--r-- | src/test/ui/consts/return-in-const-fn.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/consts/return-in-const-fn.rs b/src/test/ui/consts/return-in-const-fn.rs deleted file mode 100644 index 077a33c08..000000000 --- a/src/test/ui/consts/return-in-const-fn.rs +++ /dev/null @@ -1,10 +0,0 @@ -// run-pass - -// https://github.com/rust-lang/rust/issues/43754 - -const fn foo(x: usize) -> usize { - return x; -} -fn main() { - [0; foo(2)]; -} |