Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Commit

Permalink
Merge pull request #528 from JohnTitor/unsized-fn-params
Browse files Browse the repository at this point in the history
Address the changes by rust-lang/rust#78152
  • Loading branch information
Alexendoo committed Oct 29, 2020
2 parents fdaae30 + a57d066 commit 9abf63d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ices/67981.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(unsized_locals)]
#![feature(unsized_fn_params)]

fn main() {
let f: fn([u8]) = |_| {};
Expand Down
2 changes: 1 addition & 1 deletion ices/68538.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(unsized_locals)]
#![feature(unsized_fn_params)]
#![crate_type = "lib"]

pub fn take_unsized_slice(s: [u8]) {
Expand Down
2 changes: 1 addition & 1 deletion ices/68543.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(unsized_locals)]
#![feature(unsized_fn_params, unsized_locals)]
#![crate_type = "lib"]

use std::future::Future;
Expand Down

0 comments on commit 9abf63d

Please sign in to comment.