diff options
| author | thedarkula <thedarkula2049@gmail.com> | 2018-08-20 20:02:34 +0100 |
|---|---|---|
| committer | thedarkula <thedarkula2049@gmail.com> | 2018-08-20 22:23:56 +0100 |
| commit | 6b597cecd31a3da40c6bbeb60c5f42dc3eff2e53 (patch) | |
| tree | 4801eae561565d2feacdd49e7a60d942a8fc3bca /src/test/ui/const-eval | |
| parent | 4d5ef325e060743cba2ef587912f40b8b3b87cc4 (diff) | |
Moved issue-53157.rs into src/test/ui/consts/const-eval/
Diffstat (limited to 'src/test/ui/const-eval')
| -rw-r--r-- | src/test/ui/const-eval/issue-53157.rs | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/test/ui/const-eval/issue-53157.rs b/src/test/ui/const-eval/issue-53157.rs deleted file mode 100644 index 900847767e1..00000000000 --- a/src/test/ui/const-eval/issue-53157.rs +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 2018 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-pass - -macro_rules! m { - () => {{ - fn f(_: impl Sized) {} - f - }} -} - -fn main() { - fn f() -> impl Sized {}; - m!()(f()); -} |
