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
`undocumented_unsafe_blocks` does not trigger on unsafe trait impls
Closesrust-lang#8505
changelog: This lint checks unsafe impls NOT from macro expansions and checks ones in macro declarations.
~~`unsafe impl`s from macro invocations don't trigger the lint for now.~~
~~This lint checks unsafe impls from/not from macro expansions~~
The following produces a difficult to understand link error, rather than a compile error. Rust 0.7, ubuntu 12.04 x86_64.
hello.rs:
world.rs:
Compiling hello.rs gives this error:
error: linking with
cc
failed with code 1note: cc arguments: -L/usr/local/lib/rustc/x86_64-unknown-linux-gnu/lib -m64 -o hello hello.o -L/usr/local/lib/rustc/x86_64-unknown-linux-gnu/lib -lstd-6c65cf4b443341b1-0.7 -L. -lworld-15fb3a718ea23983-0.1 -lrustrt -lrt -lpthread -L. -lrt -ldl -lm -lmorestack -lrustrt -Wl,-rpath,$ORIGIN/../../../../../usr/local/lib/rustc/x86_64-unknown-linux-gnu/lib -Wl,-rpath,$ORIGIN/. -Wl,-rpath,/usr/local/lib/rustc/x86_64-unknown-linux-gnu/lib -Wl,-rpath,/tmp/test/.
note: hello.o: In function
main::_f3d4197390d6bb2a::_0$x2e0': hello.rc:(.text+0x54): undefined reference to
columbus::explore::_3de4895354bdc485::_0$x2e1'collect2: ld returned 1 exit status
The text was updated successfully, but these errors were encountered: