Myepicsolproject - ProgramResult not found in this scope

error[E0412]: cannot find type ProgramResult in this scope
→ programs/myepicsolproject/src/lib.rs:8:58
|
8 | pub fn start_stuff_off(ctx: Context) → ProgramResult {
| ^^^^^^^^^^^^^ not found in this scope

For more information about this error, try rustc --explain E0412.

I followed everything the tutorial on buildspace did: “buildspace

Kindly check out your DM

1 Like

import this in your name.rs

use anchor_lang::prelude::*;
use anchor_lang::solana_program::entrypoint::ProgramResult;

Thank you for your help

1 Like