summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/const-eval/issue-104390.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/const-eval/issue-104390.rs')
-rw-r--r--src/test/ui/consts/const-eval/issue-104390.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/consts/const-eval/issue-104390.rs b/src/test/ui/consts/const-eval/issue-104390.rs
deleted file mode 100644
index 602d81824..000000000
--- a/src/test/ui/consts/const-eval/issue-104390.rs
+++ /dev/null
@@ -1,10 +0,0 @@
-fn f1() -> impl Sized { & 2E } //~ ERROR expected at least one digit in exponent
-fn f2() -> impl Sized { && 2E } //~ ERROR expected at least one digit in exponent
-fn f3() -> impl Sized { &'a 2E } //~ ERROR expected at least one digit in exponent
-//~^ ERROR borrow expressions cannot be annotated with lifetimes
-fn f4() -> impl Sized { &'static 2E } //~ ERROR expected at least one digit in exponent
-//~^ ERROR borrow expressions cannot be annotated with lifetimes
-fn f5() -> impl Sized { *& 2E } //~ ERROR expected at least one digit in exponent
-fn f6() -> impl Sized { &'_ 2E } //~ ERROR expected at least one digit in exponent
-//~^ ERROR borrow expressions cannot be annotated with lifetimes
-fn main() {}