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
[package]
name = "link-crash"
version = "0.1.0"
authors = ["Alexander Bulaev <[email protected]>"][dependencies]
log = "*"
src/lib.rs:
#[macro_use]externcrate log;use std::fmt::Debug;pubstructLogger<E:Debug>{field:E,}impl<E:Debug>Logger<E>{pubfnnew(field:E) -> Logger<E>{Logger{field: field
}}pubfndo_log(&self){info!("This is the message: {:?}",self.field);}}
The text was updated successfully, but these errors were encountered:
alexbool
changed the title
link.exe fails on Windows with MSVC involving logging and generic struct
link.exe fail on Windows with MSVC involving logging and generic struct
Sep 2, 2015
Here is the minimal test case:
Cargo.toml
:src/lib.rs
:src/main.rs
:The text was updated successfully, but these errors were encountered: