File tree Expand file tree Collapse file tree 6 files changed +10
-5
lines changed Expand file tree Collapse file tree 6 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 1- d4be8efc6296bace5b1e165f1b34d3c6da76aa8e
1+ 71ef9ecbdedb67c32f074884f503f8e582855c2f
Original file line number Diff line number Diff line change 77#![ feature( yeet_expr) ]
88#![ feature( nonzero_ops) ]
99#![ feature( local_key_cell_methods) ]
10- #![ feature( is_terminal) ]
1110#![ feature( round_ties_even) ]
1211// Configure clippy and other lints
1312#![ allow(
Original file line number Diff line number Diff line change 1+ // This once failed with "unwinding past a stack frame that does not allow unwinding",
2+ // fixed by https://github.com/rust-lang/rust/issues/110233.
3+
4+ fn main ( ) {
5+ let x = [ 1 , 2 , 3 , 4 ] ;
6+ let _val = & x[ ..=4 ] ;
7+ }
Original file line number Diff line number Diff line change 1+ thread 'main' panicked at 'range end index 5 out of range for slice of length 4', $DIR/oob_subslice.rs:LL:CC
2+ note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Original file line number Diff line number Diff line change 33
44#![ feature( io_error_more) ]
55#![ feature( io_error_uncategorized) ]
6- #![ feature( is_terminal) ]
76
87use std:: collections:: HashMap ;
98use std:: ffi:: { c_char, OsString } ;
Original file line number Diff line number Diff line change 1- #![ feature( is_terminal) ]
2-
31use std:: io:: IsTerminal ;
42
53fn main ( ) {
You can’t perform that action at this time.
0 commit comments