Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
359bfa901b9d8eddbed7b88b6716dbb77b7bfb95
rust/tests/ui/limits/huge-enum.no-debuginfo.stderr

9 lines
204 B
Plaintext
Raw Normal View History

TL note: current means target
2024-09-20 00:39:10 -07:00
error: values of the type `Option<TYPE>` are too big for the target architecture
compiler: Include span of too huge enum with -Cdebuginfo=2 We have a ui test to ensure we emit an error if we encounter too big enums. Before this fix, compiling the test with `-Cdebuginfo=2` would not include the span of the instantiation site, because the error is then emitted from a different code path that does not include the span. Propagate the span to the error also in the debuginfo case, so the test passes regardless of debuginfo level.
2025-08-28 20:11:07 +02:00
--> $DIR/huge-enum.rs:17:9
tweak output and tests
2019-08-04 12:23:05 -07:00
|
LL | let big: BIG = None;
| ^^^
Moved compile-fail tests to ui tests.
2018-08-08 14:28:26 +02:00
Show number in error message even for one error Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-21 15:44:16 +00:00
error: aborting due to 1 previous error
Moved compile-fail tests to ui tests.
2018-08-08 14:28:26 +02:00
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 3081ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API