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
51b51b51d7931da85280382a81c4dd80c73ca754
rust/tests/ui/issues/issue-40000.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
221 B
Rust
Raw Normal View History

store a copy of the Issue32230 info within TypeError The data can't be looked up from the region variable directly, because the region variable might have been destroyed at the end of a snapshot. Fixes #40000. Fixes #40743.
2017-03-26 14:15:47 +03:00
fn main() {
first part of issue-40000.rs is now passing
2017-05-08 16:17:26 -05:00
let bar: fn(&mut u32) = |_| {};
store a copy of the Issue32230 info within TypeError The data can't be looked up from the region variable directly, because the region variable might have been destroyed at the end of a snapshot. Fixes #40000. Fixes #40743.
2017-03-26 14:15:47 +03:00
Update ui test suite to use dyn
2019-05-28 14:46:13 -04:00
fn foo(x: Box<dyn Fn(&i32)>) {}
let bar = Box::new(|x: &i32| {}) as Box<dyn Fn(_)>;
Use revisions for NLL in issues
2022-05-22 01:02:55 -04:00
foo(bar);
Fully stabilize NLL
2022-04-01 13:13:25 -04:00
//~^ ERROR mismatched types
//~| ERROR mismatched types
store a copy of the Issue32230 info within TypeError The data can't be looked up from the region variable directly, because the region variable might have been destroyed at the end of a snapshot. Fixes #40000. Fixes #40743.
2017-03-26 14:15:47 +03:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 4094ms Template: 14ms
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