diff options
| author | Eric Huss <eric@huss.org> | 2021-08-27 04:52:51 -0700 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2021-08-27 04:52:51 -0700 |
| commit | e6637284cca42cb497b6b767776136ede71c7119 (patch) | |
| tree | 7357abfc63220e19d877a8290c9c5c5048264de5 /src/test/rustfix/closure-immutable-outer-variable.fixed | |
| parent | dfd6306d26af1a163aaaa1456b4594244ddd182f (diff) | |
| download | rust-e6637284cca42cb497b6b767776136ede71c7119.tar.gz rust-e6637284cca42cb497b6b767776136ede71c7119.zip | |
Remove vestigial rustfix tests.
Diffstat (limited to 'src/test/rustfix/closure-immutable-outer-variable.fixed')
| -rw-r--r-- | src/test/rustfix/closure-immutable-outer-variable.fixed | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/rustfix/closure-immutable-outer-variable.fixed b/src/test/rustfix/closure-immutable-outer-variable.fixed deleted file mode 100644 index 05bbc13d714..00000000000 --- a/src/test/rustfix/closure-immutable-outer-variable.fixed +++ /dev/null @@ -1,10 +0,0 @@ -// Point at the captured immutable outer variable - -fn foo(mut f: Box<FnMut()>) { - f(); -} - -fn main() { - let mut y = true; - foo(Box::new(move || y = false) as Box<_>); -} |
