diff options
| author | Michael Goulet <michael@errs.io> | 2024-12-23 21:49:48 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-12-23 22:15:32 +0000 |
| commit | 92f93f6d1127cd8f2438474ebe4620231f5d5473 (patch) | |
| tree | e2d9b672103b6cc9c6fb2fc6439beebe9e3d2ee2 /compiler/rustc_error_codes/src | |
| parent | addbd001ec56741829f20a3000892f8620dd0843 (diff) | |
Note def descr in NonConstFunctionCall
Diffstat (limited to 'compiler/rustc_error_codes/src')
| -rw-r--r-- | compiler/rustc_error_codes/src/error_codes/E0015.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0015.md b/compiler/rustc_error_codes/src/error_codes/E0015.md index ac78f66adad..244cc476243 100644 --- a/compiler/rustc_error_codes/src/error_codes/E0015.md +++ b/compiler/rustc_error_codes/src/error_codes/E0015.md @@ -7,7 +7,7 @@ fn create_some() -> Option<u8> { Some(1) } -// error: cannot call non-const fn `create_some` in constants +// error: cannot call non-const function `create_some` in constants const FOO: Option<u8> = create_some(); ``` |
