In a bowl, combine the asparagus and mushrooms. Add olive oil, season with salt, pepper, garlic powder, onion powder, and minced rosemary, then toss until everything is well coated.