summaryrefslogtreecommitdiffstats
path: root/src/test/ui/suggestions/lifetimes/missing-lifetimes-in-signature-before-const.fixed
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/suggestions/lifetimes/missing-lifetimes-in-signature-before-const.fixed')
-rw-r--r--src/test/ui/suggestions/lifetimes/missing-lifetimes-in-signature-before-const.fixed10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/suggestions/lifetimes/missing-lifetimes-in-signature-before-const.fixed b/src/test/ui/suggestions/lifetimes/missing-lifetimes-in-signature-before-const.fixed
deleted file mode 100644
index 3c06f4f88..000000000
--- a/src/test/ui/suggestions/lifetimes/missing-lifetimes-in-signature-before-const.fixed
+++ /dev/null
@@ -1,10 +0,0 @@
-// run-rustfix
-// https://github.com/rust-lang/rust/issues/95616
-
-fn buggy_const<'a, const N: usize>(_a: &'a Option<[u8; N]>, _f: &'a str) -> &'a str { //~ERROR [E0106]
- return "";
-}
-
-fn main() {
- buggy_const(&Some([69,69,69,69,0]), "test");
-}