mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-26 13:01:27 +03:00
tests/debuginfo/basic-stepping.rs: Remove FIXME related to ZSTs
We don't consider it a bug that users can't break on initialization of some non-zero sized types (see comment on `maximally-steppable` at the top of the file), so it does not make sense to consider it a bug that users can't break on initialization of some zero-sized types.
This commit is contained in:
@@ -142,8 +142,8 @@
|
||||
fn main () {
|
||||
let a = (); // #break
|
||||
let b : [i32; 0] = [];
|
||||
// FIXME(#97083): Should we be able to break on initialization of zero-sized types?
|
||||
// FIXME(#97083): Right now the first breakable line is:
|
||||
// The above lines initialize zero-sized types. That does not emit machine
|
||||
// code, so the first breakable line is:
|
||||
let mut c = 27;
|
||||
let d = c = 99;
|
||||
let e = "hi bob";
|
||||
|
||||
Reference in New Issue
Block a user