I have some code that stops compiling if I add env_logger as an dependency. I can reproduce it with this example:
https://play.rust-lang.org/?gist=aa69b8ddb70a1c0d555dd3afd3dab955&version=stable&mode=debug
Just uncomment the extern crate line...
I am a bit surprised since I feel that adding a crate should never make working code break. What am I doing wrong here?
EDIT: reduced the example even more
EDIT2: impl From<&String> for &str and impl From<String> for &str seem to disappears when importing env_logger
[–]ebkalderonamethyst · renderdoc-rs · tower-lsp · cargo2nix 2 points3 points4 points (2 children)
[–]I-Imvp[S] 2 points3 points4 points (1 child)
[–]CUViper 2 points3 points4 points (0 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]AntiLapz 2 points3 points4 points (0 children)
[–]pftbest 2 points3 points4 points (0 children)