Last active
April 8, 2020 06:14
-
-
Save aurexav/74cf959a4d9126d9de6f84d7dc8c7af2 to your computer and use it in GitHub Desktop.
[Rust] Confusing Error E0499
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[allow(unconditional_recursion)] | |
fn bar<'a>(data: &'a mut Vec<&'a u8>) { | |
bar(data); | |
bar(data); | |
} | |
// --- | |
#[allow(unconditional_recursion)] | |
fn bar<'a>(data: &'a mut Vec<&u8>) { | |
bar(data); | |
bar(data); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
More detail: https://users.rust-lang.org/t/confusing-error-e0499/34062