mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 11:07:42 +00:00
Auto merge of #80942 - c410-f3r:tests-tests-tests, r=petrochenkov
Move some tests to more reasonable directories - 2 All tests with a score equal or greater than 1.0 were moved to their respective directories by issuing ```bash cat FILE | tr -s " " | tr -d '():' | sort -k3 | awk '$3 >= 1' | cut -d " " -f1-2 | sed 's;\\;/;g' | xargs -n2 git mv ``` **Observation**: The first column values is the only column with results greater zero To attest the confidentiality of the model, some manual revision of at least of tests is needed and this process will be tracked in the following list: * `src/test/ui/abi/issue-28676.rs` OK #28676 * `src/test/ui/array-slice-vec/issue-15730.rs` OK * `src/test/ui/associated-types/issue-24338.rs` OK #54823 * `src/test/ui/associated-types/issue-48551.rs` Looks OK #48551 * `src/test/ui/associated-types/issue-50301.rs` Looks OK #63577 ... cc #73494 r? `@petrochenkov`
This commit is contained in:
commit
95cbcad920
@ -1,38 +0,0 @@
|
|||||||
// run-pass
|
|
||||||
#![allow(illegal_floating_point_literal_pattern)] // FIXME #41620
|
|
||||||
#![allow(ellipsis_inclusive_range_patterns)]
|
|
||||||
|
|
||||||
// regression test for the model lexer handling the DOTDOTDOT syntax (#15877)
|
|
||||||
|
|
||||||
|
|
||||||
pub fn main() {
|
|
||||||
match 5_usize {
|
|
||||||
1_usize...5_usize => {}
|
|
||||||
_ => panic!("should match range"),
|
|
||||||
}
|
|
||||||
match 5_usize {
|
|
||||||
6_usize...7_usize => panic!("shouldn't match range"),
|
|
||||||
_ => {}
|
|
||||||
}
|
|
||||||
match 5_usize {
|
|
||||||
1_usize => panic!("should match non-first range"),
|
|
||||||
2_usize...6_usize => {}
|
|
||||||
_ => panic!("math is broken")
|
|
||||||
}
|
|
||||||
match 'c' {
|
|
||||||
'a'...'z' => {}
|
|
||||||
_ => panic!("should support char ranges")
|
|
||||||
}
|
|
||||||
match -3_isize {
|
|
||||||
-7...5 => {}
|
|
||||||
_ => panic!("should match signed range")
|
|
||||||
}
|
|
||||||
match 3.0f64 {
|
|
||||||
1.0...5.0 => {}
|
|
||||||
_ => panic!("should match float range")
|
|
||||||
}
|
|
||||||
match -1.5f64 {
|
|
||||||
-3.6...3.6 => {}
|
|
||||||
_ => panic!("should match negative float range")
|
|
||||||
}
|
|
||||||
}
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user