about summary refs log tree commit diff
path: root/tests/ui/weird-exprs.rs
AgeCommit message (Collapse)AuthorLines
2025-07-01moved testsKivooeo-303/+0
2025-06-05Use non-2015 edition paths in tests that do not test for their resolutionLukas Wirth-1/+1
2025-05-09make t looks like lowercaseKivooeo-4/+4
2025-02-06Remove some unnecessary parens in `assert!` conditionsEsteban Küber-3/+3
While working on #122661, some of these started triggering our "unnecessary parens" lints due to a change in the `assert!` desugaring. A cursory search identified a few more. Some of these have been carried from before 1.0, were a bulk rename from the previous name of `assert!` left them in that state. I went and removed as many of these unnecessary parens as possible in order to have fewer annoyances in the future if we make the lint smarter.
2024-04-24Error on using `yield` without also using `#[coroutine]` on the closureOli Scherer-0/+1
And suggest adding the `#[coroutine]` to the closure
2024-04-16Add another expression to weird-exprs.rsMaik Allgöwer-0/+15
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-1/+1
2024-01-21Rename function in weird-exprs.rs for clarityJaro Fietz-2/+2
2023-12-16Add more weirdness to weird-exprs.rsJaro Fietz-0/+27
2023-10-20s/generator/coroutine/Oli Scherer-1/+1
2023-06-19Disable feature(unboxed_closures, fn_traits) in weird-exprsDavid Tolnay-5/+5
One shouldn't need a nightly compiler in order to ~~have fun~~ call a function many times.
2023-06-12Adjust UI tests for `unit_bindings`许杰友 Jieyou Xu (Joe)-3/+3
- Either explicitly annotate `let x: () = expr;` where `x` has unit type, or remove the unit binding to leave only `expr;` instead. - Fix disjoint-capture-in-same-closure test
2023-05-15Add more interesting nonsense to weird-exprs.rsAlona Enraght-Moony-0/+30
2023-01-11Move /src/test to /testsAlbert Larsan-0/+230