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

Add gitattributes to use LF #387

Merged
merged 2 commits into from
May 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
14 changes: 7 additions & 7 deletions ices/71443-1.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![feature(associated_type_bounds)]
struct Incorrect;
fn hello<F: for<'a> Iterator<Item: 'a>>() {
Incorrect
}
#![feature(associated_type_bounds)]

struct Incorrect;

fn hello<F: for<'a> Iterator<Item: 'a>>() {
Incorrect
}
12 changes: 6 additions & 6 deletions ices/71443-2.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![feature(associated_type_bounds)]
fn hello<'b, F>()
where
for<'a> F: Iterator<Item: 'a> + 'b,
{}
#![feature(associated_type_bounds)]

fn hello<'b, F>()
where
for<'a> F: Iterator<Item: 'a> + 'b,
{}
10 changes: 5 additions & 5 deletions ices/71922.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const fn foo(n: usize) -> usize { n * 2 }
fn bar<const N: usize>() -> [u32; foo(N)] {
[0; foo(N)]
}
fn main() {}
const fn foo(n: usize) -> usize { n * 2 }
fn bar<const N: usize>() -> [u32; foo(N)] {
[0; foo(N)]
}
fn main() {}