I stand corrected. The Flight Attendant WAS indeed correct in her statement as per FAR 121.589
=========
Sec. 121.589 Carry-on baggage.
(a) No certificate holder may allow the boarding of carry-on baggage on an airplane unless each passenger's baggage has been scanned to control the size and amount carried on board in accordance with an approved carry-on baggage program in its operations specifications. In addition, no passenger may board an airplane if his/her carry-on baggage exceeds the baggage allowance prescribed in the carry-on baggage program in the certificate holder's operations specifications.
---and---
(e) Each passenger must comply with instructions given by crewmembers regarding compliance with paragraphs (a), (b), (c), (d), and (g) of this section.