Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
8152da82b51a16fbb7a072462af01d15b0b2c8d3
rust/tests/ui/unused-move-capture.rs

8 lines
108 B
Rust
Raw Normal View History

[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ run-pass
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
check-fast fallout from removing export, r=burningtree
2013-02-01 19:43:17 -08:00
pub fn main() {
Remove box syntax from most places in src/test outside of the issues dir
2021-08-25 02:39:40 +02:00
let _x: Box<_> = Box::new(1);
remove all kind annotations from closures
2015-02-01 12:44:15 -05:00
let lam_move = || {};
Take move captures in account in mutability checker Closes #1461
2012-02-22 13:35:17 +01:00
lam_move();
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 8116ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API