This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
Files
51b51b51d7931da85280382a81c4dd80c73ca754
rust
/
tests
/
ui
/
unboxed-closures
/
unboxed-closures-zero-args.rs
8 lines
97 B
Rust
Raw
Normal View
History
Unescape
Escape
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ run-pass
Add `#![allow(..)]` as necessary to get re-migrated run-pass tests compiling with clean stderr again. Most were added mechanically.
2018-09-25 23:51:35 +02:00
#![
allow(unused_mut)
]
rustdoc: Replace no-pretty-expanded with pretty-expanded Now that features must be declared expanded source often does not compile. This adds 'pretty-expanded' to a bunch of test cases that still work.
2015-03-22 13:13:15 -07:00
librustc: Fix a couple of cases in which unboxed closure typechecking code wasn't considering the zero-argument case. Closes #16168.
2014-08-20 13:37:00 -07:00
fn
main
(
)
{
Teach project to unify the return type even if a precise match is not possible. There is some amount of duplication as a result (similar to select) -- I am not happy about this but not sure how to fix it without deeper rewrites.
2015-02-03 06:12:43 -05:00
let
mut
zero
=
|
|
{
}
;
let
(
)
=
zero
(
)
;
librustc: Fix a couple of cases in which unboxed closure typechecking code wasn't considering the zero-argument case. Closes #16168.
2014-08-20 13:37:00 -07:00
}
Reference in New Issue
Copy Permalink