Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- error[E0597]: `nes` does not live long enough
- --> src/main.rs:24:5
- |
- 24 | nes.run();
- | ^^^ borrowed value does not live long enough
- 25 | }
- | -
- | |
- | `nes` dropped here while still borrowed
- | borrow might be used here, when `nes` is dropped and runs the destructor for type `emulator::nes::NES<'_, emulator::mappers::nrom::NROM>`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement