diff --git a/src/parse.c b/src/parse.c index 01c9ae57dc28..2422cf3fcd93 100644 --- a/src/parse.c +++ b/src/parse.c @@ -2185,7 +2185,7 @@ Dsymbols *Parser::parseDeclarations() case TOKtypedef: if (global.params.Dversion >= 3 && mod && mod->isRoot()) { - warning(loc, "use alias for D2 rather than typedef"); + warning(loc, "typedef is deprecated in D2, use either alias or custom struct wrapper"); } case TOKalias: tok = token.value;