You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is how clang tells LLVM to merge C++ template instantiations. It's somewhat complicated for C++ as shown by their IR output tests but Rust might just need linkonce_odr without the exceptions.
It's possible this isn't actually useful because of the compilation model of crates though. @pcwalton: any idea if this would have any meaning in Rust's world?
The text was updated successfully, but these errors were encountered:
Don't trigger toplevel_ref_arg for `for` loops
The lint suggests turning `for ref x in 0..10 {` into `for ref x in let x = &0..10; {`.
---
changelog: none
This is how clang tells LLVM to merge C++ template instantiations. It's somewhat complicated for C++ as shown by their IR output tests but Rust might just need
linkonce_odr
without the exceptions.It's possible this isn't actually useful because of the compilation model of crates though. @pcwalton: any idea if this would have any meaning in Rust's world?
The text was updated successfully, but these errors were encountered: