about summary refs log tree commit diff
path: root/src/test/ui/weird-exprs.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-230/+0
2022-11-06Add more nonsense to weird-exprs.rs.Mara Bos-0/+11
2022-05-21Add back thinking emojioberien-6/+9
2022-05-21Add a function returning itself to weird-exprsJaro Fietz-0/+14
2022-05-21Add unicode identifier to weird-exprsJaro Fietz-0/+9
Use unicode identifiers and a unicode emoji in weird-exprs.rs
2022-05-21Make the most special expression even more specialJaro Fietz-1/+1
Add or-pattern syntax in argument position
2022-04-29Add a bathroom stall to weird expressions testThom Chiovoloni-0/+7
2021-12-14Stabilize `destructuring_assignment`Jacob Pratt-1/+0
2020-11-12Rename empty_tuple_assignment to monkey_barrelSlanterns-2/+2
2020-11-11test: add `()=()=()=...` to weird-exprs.rsSlanterns-0/+7
2020-07-28Make closures and generators a must use typesTomasz Miąsko-1/+1
Warn about unused expressions with closure or generator type. This follows existing precedence of must use annotations present on `FnOnce`, `FnMut`, `Fn` traits, which already indirectly apply to closures in some cases, e.g.,: ```rust fn f() -> impl FnOnce() { || {} } fn main() { // an existing warning: unused implementer of `std::ops::FnOnce` that must be used: f(); // a new warning: unused closure that must be used: || {}; } ```
2020-03-31update testsBastian Kauschke-1/+1
2019-07-27tests: Move run-pass tests without naming conflicts to uiVadim Petrochenkov-0/+180