We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The same ICFP (#2928) teammate as in bug #2942 was also confused by this code, which warns about the implicit copy on x:
enum asdf = int; impl foo for asdf { #[warn(no_implicit_copies)] fn foo(x: ~[asdf]) -> ~[asdf] { x } } fn main() { asdf(5).foo(~[]); }
Moving the #[warn(..)] up to the top level makes it compile with no warnings.
The text was updated successfully, but these errors were encountered:
dupe of 2647
Sorry, something went wrong.
Auto merge of rust-lang#2946 - RalfJung:rustup, r=RalfJung
feed376
Rustup
Update nightly toolchain to toolchain-2023-12-15 (rust-lang#2948)
24ececc
Related PR: rust-lang#118566 Resolves rust-lang#2946
No branches or pull requests
The same ICFP (#2928) teammate as in bug #2942 was also confused by this code, which warns about the implicit copy on x:
Moving the #[warn(..)] up to the top level makes it compile with no warnings.
The text was updated successfully, but these errors were encountered: