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
use a;
import a::extensions;
fn main() {
#debug["%u", 3u.me()];
}
The result:
Script started on Fri Apr 27 08:26:09 2012
�[?1034h;rustc --lib a.rs
Running /usr/local/bin/rustc:
�[1;33mwarning:�[0m missing crate link meta 'name', using 'a' as default
�[1;33mwarning:�[0m missing crate link meta 'vers', using '0.0' as default
warning: no debug symbols in executable (-arch x86_64)
;rustc -L b.rs����.b.rs���� b.rs����
Running /usr/local/bin/rustc:
�[1;31merror:�[0m internal compiler error unexpected failure
�[1;32mnote:�[0m The compiler hit an unexpected failure path. This is a bug. Try running with RUST_LOG=rustc=0,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues
;exit
Script done on Fri Apr 27 08:26:19 2012
The text was updated successfully, but these errors were encountered:
I tagged this as resolve, but after some thought a more likely suspect is the reachability computation that controls what metadata gets exported. The failure occurs when looking up an item and not finding it in the metadata.
unnecessary_sort_by: avoid linting if key borrows
changelog: Avoid linting if key borrows in [`unnecessary_sort_by`]
Fixesrust-lang#5754Closesrust-lang#2313
Here is a test case. The first file
a.rs
is:The second file
b.rs
is:The result:
The text was updated successfully, but these errors were encountered: