Created
February 24, 2018 08:48
-
-
Save anonymous/a929479f88e4de95d4f5b756c30170a1 to your computer and use it in GitHub Desktop.
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
pub fn main() void | |
{ | |
const name: []const u8 = @typeName(u32); | |
comptime var output: []const u8 = ""; | |
output = output ++ name; // error: expected type '[]const u8', found '&const u8' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment