diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..6313b56c --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf diff --git a/ices/71443-1.rs b/ices/71443-1.rs index 995efa6f..3c83dbc1 100644 --- a/ices/71443-1.rs +++ b/ices/71443-1.rs @@ -1,7 +1,7 @@ -#![feature(associated_type_bounds)] - -struct Incorrect; - -fn hello Iterator>() { - Incorrect -} +#![feature(associated_type_bounds)] + +struct Incorrect; + +fn hello Iterator>() { + Incorrect +} diff --git a/ices/71443-2.rs b/ices/71443-2.rs index c0abc30f..a8f2871e 100644 --- a/ices/71443-2.rs +++ b/ices/71443-2.rs @@ -1,6 +1,6 @@ -#![feature(associated_type_bounds)] - -fn hello<'b, F>() -where - for<'a> F: Iterator + 'b, -{} +#![feature(associated_type_bounds)] + +fn hello<'b, F>() +where + for<'a> F: Iterator + 'b, +{} diff --git a/ices/71922.rs b/ices/71922.rs index 6b3f35c9..a2baa50a 100644 --- a/ices/71922.rs +++ b/ices/71922.rs @@ -1,5 +1,5 @@ -const fn foo(n: usize) -> usize { n * 2 } -fn bar() -> [u32; foo(N)] { - [0; foo(N)] -} -fn main() {} +const fn foo(n: usize) -> usize { n * 2 } +fn bar() -> [u32; foo(N)] { + [0; foo(N)] +} +fn main() {}