We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
I must say I am shocked that this program is accepted. You can imagine what happens.
fn main () { let x = ~"hello"; let _y = x; let z: ~fn() = || { error!("%?", x); }; // program accepted with @fn or ~fn but not &fn z(); }