mirror of
https://github.com/dlang/dmd.git
synced 2025-04-27 05:30:13 +03:00
Make safe error messages consistent (#20654)
Co-authored-by: Dennis Korpel <dennis@sarc.nl>
This commit is contained in:
parent
0f35acb452
commit
9b94878c85
104 changed files with 394 additions and 377 deletions
|
@ -3,9 +3,9 @@
|
|||
REQUIRED_ARGS: -de
|
||||
TEST_OUTPUT:
|
||||
---
|
||||
fail_compilation/cpp_cast.d(19): Error: cast from `cpp_cast.I` to `cpp_cast.C` not allowed in safe code
|
||||
fail_compilation/cpp_cast.d(19): Error: cast from `cpp_cast.I` to `cpp_cast.C` is not allowed in a `@safe` function
|
||||
fail_compilation/cpp_cast.d(19): No dynamic type information for extern(C++) classes
|
||||
fail_compilation/cpp_cast.d(21): Deprecation: cast from `cpp_cast.C` to `cpp_cast.D` not allowed in safe code
|
||||
fail_compilation/cpp_cast.d(21): Deprecation: cast from `cpp_cast.C` to `cpp_cast.D` will become `@system` in a future release
|
||||
fail_compilation/cpp_cast.d(21): No dynamic type information for extern(C++) classes
|
||||
---
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue